Steps to reproduce:
Use admin rights for the following steps
1. Create at least 2 categories
2. Give Registered (default no rights changed) User group access to one of them and deny access to the other
3. Now create 1 Wiki site in each Category
4. Link both pages from the tiki.index.php via Wiki link
5. Log in as the Registered user now
6. Try viewing both Sites via the Wiki link on one u get the error that u dont have permission to do so
7. Now click on the Link
Create this page (page will be orphaned)
8. Now u can view the page even though u arent allowed to do so
9. Uncheck the category change the site and u are even able to save the edits u did even though u dont have permission to do so
One very simple solution is to browse the error.tpl file under \templates and go to line 53 and edit the if statement by deleting "$tiki_p_edit eq 'y'" from the if statement which results in the link for editing the page not showing up instead a correct error message shows up. Even though this doesnt fix the main security problem its a workaround and a starter for debugging
___
In fact a simple tiki-editpage.php?page=aPageWithAcategoryYouCan'tEdit was a security home
Fixed in 1.9.2
sylvie
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |