Opened 14 years ago
Closed 14 years ago
#400 closed defect (fixed)
Security hole in GeoNetwork -- search for owner
Reported by: | heikki | Owned by: | heikki |
---|---|---|---|
Priority: | blocker | Milestone: | v2.6.2 |
Component: | General | Version: | v2.6.1 |
Keywords: | Cc: |
Description
You can search and discover metadata that are (supposedly) not visible to you.
To reproduce:
Assuming a clean installation of GeoNetwork (no metadata),
(1) Login as admin, load templates, load sample metadata. There now are 7 sample metadata, visible to all, owned by admin.
(2) remove all privileges from one of those 7 metadata and log out
Search by GUI Search button now correctly displays results for the 6 visible metadata. Now try
http://localhost:8080/geonetwork/srv/fr/main.search?any=&sortBy=relevance&hitsPerPage=10&owner=1
Included in the results are the metadata you should not be allowed to know about.
Attachments (1)
Change History (5)
comment:1 by , 14 years ago
Owner: | changed from | to
---|
by , 14 years ago
comment:3 by , 14 years ago
Status: | new → assigned |
---|
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
integrated in trunk revision 7022
Fixed this. Patch is for 2.6.x with the following changes:
Tested using both GUI and xml.search.