This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b45b21e1-3f8d-4883-b20b-4998347708c2 XWIKI-24089 Open

Error message and/or navigation menu reveal which pages exist for users without view right

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f1f11daa-c618-4cc6-b03e-38d35dda9ed7 Timo Hyrskylahti created this issue on 05/Mar/26 21:27
 
Summary: Error message and/or navigation menu reveal which pages exist for users without view right
Issue Type: cid:jira-generated-image-avatar-b45b21e1-3f8d-4883-b20b-4998347708c2 Bug
Affects Versions: 17.10.2
Assignee: Unassigned
Components: Rendering - XWiki
Created: 05/Mar/26 21:27
Labels: security
Priority: cid:jira-generated-image-static-major-8d6ae4a8-1deb-4b88-9e3b-1429148a9b5e Major
Reporter: Timo Hyrskylahti
Description:

When user tries to see a page where he/she has no view right the navigation menu on the left does not show the current page. But if the page does not exist at all the navigation menu inserts a "placeholder" with the page name. 

Also the error message when trying to view a page where the user has no view right is "You are not allowed to view this page or perform this action." whereas on a page that doesn't exists it's "The requested page could not be found." and displays a list of alternative existing pages.

This behavior allows the user to probe which pages exist on the wiki even though he/she has no view right on them. This could leak sensitive information.

 
 

1 update

 
cid:jira-generated-image-avatar-f1f11daa-c618-4cc6-b03e-38d35dda9ed7 Changes by Timo Hyrskylahti on 05/Mar/26 21:28
 
Description: When user tries to see a page where he/she has no view right the navigation menu on the left does not show the current page. But if the page does not exist at all the navigation menu inserts a "placeholder" with the page name. 

Also the error message when trying to view a page where the user has no view right is "{color:#333333}{*}You are not allowed to view this page or perform this action{*}.{color}" whereas on a page that doesn't
exists exist it's "{*}{color:#333333}The requested page could not be found.{color}{*}" and displays a list of alternative existing pages.

This behavior allows the user to probe which pages exist on the wiki even though he/she has no view right on them. This could leak sensitive information.