Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users can add/delete other users, or be tricked into doing so. #70

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Using prefs.php, regular logged in users can add or delete other users by 
modifying POST fields in their request header.
2. An attacker could also trick a logged in user to click on a button hosted 
elsewhere with the POST data necessary to add or delete a user.

What is the expected output? What do you see instead?
Add/delete user requests should not be accepted from non-admin users (I assume).

Please use labels and text to provide additional information.
I fixed this issue by adding a check "fof_is_admin()" to each sensitive if 
statement.
The fix is attached. I've also attached a sample of a form that an attacker 
might use to trick a user. Note that this form could be hosted off-site.

Original issue reported on code.google.com by [email protected] on 18 May 2011 at 8:23

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks, I will apply your change.

Original comment by [email protected] on 22 May 2011 at 5:50

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant