The UI Slip I Hit 750$: UI Manipulation Leading to Unauthorized Permission Changes
The platform's user interface allowed a company user to enable a disabled permission toggle by editing the page's HTML, bypassing the requirement to obtain membership privileges. An attacker could then remove another user's permissions without the necessary membership.
Published on medium.com
Discover how an U.I mistake allowed unauthorized permission changes in Private Program and bypass the membership requirements. Learn the steps to reproduce this security flaw and its potential impact on platform and user privacy.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server trusted the client-side UI state and did not verify that the user had the required membership before applying permission changes.
Impact
A company user could remove another user's permissions without obtaining the required membership, potentially disrupting access controls.
What the attacker needed
A company user account; access to user management
How it was found
- Log in to the platform as a company user.
- Go to the user management section that controls permissions.
- Find the target account and open its Access settings.
- Inspect the element to find the disabled toggle for the permission to remove.
- Remove the disable attribute from the button in the HTML.
- Deselect the permission and save the changes.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A website's buttons can be disabled so you cannot click them, but the page's code can be edited in the browser to make them clickable again. If the server does not check whether the user is allowed to perform the action, the change goes through. Here, a user could remove someone else's permissions without paying for the required membership.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.