On suggestion from the security team, I'm providing this patch to warn administrators about the Administer Users permission.
This permission allows a user to edit user/1, change its password and therefore log in as user/1. More details here:
http://open.emspace.com.au/article/administer-users-sledgehammer-permission
For those who consider this a loophole, please review:
http://drupal.org/node/39636
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | admin_users_warning.patch | 849 bytes | sime |
Comments
Comment #1
simeComment #2
simeoops, out of practice - carn bot, come git
Comment #3
wmostrey commentedI'm all for this. I do think we should add a link on "security implications" to Untrusted execution of PHP.
Comment #4
catchSee also #248598: Label permissions which are warned about in the user interface and #594412: Correctly label all site-owning super-admin permissions
Comment #5
David_Rothstein commentedSimple patch, and makes total sense. This is one of the most dangerous permissions in Drupal (and will be even if the user/1 issue gets in, since it still allows you to hijack other accounts).
We do have #594412: Correctly label all site-owning super-admin permissions open as a critical bug to make sure that Drupal 7 doesn't get released without an audit of all core permissions to make sure we are labeling the correct ones, but there's no reason not to knock this big obvious one off now :)
Comment #6
dries commentedCommitted to CVS HEAD. Thanks!