The Access Control Apocalypse: How Broken Permissions Gave Me Ke
A free user could access admin endpoints and perform privileged actions due to missing access controls. The attacker could view sensitive data, escalate privileges, and manipulate system functions.
Free Link🎈
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 application failed to enforce proper authorization checks on both endpoints and functions, allowing low-privilege users to access high-privilege resources.
Impact
A free user could access sensitive data such as user records and revenue, escalate privileges to admin, and perform administrative functions, potentially leading to complete system compromise.
What the attacker needed
A free user account
How it was found
- Sign up for a free trial account on the target SaaS platform.
- Discover an admin panel link in the free user's interface.
- Access the admin panel and observe that it returns sensitive data instead of an access denied error.
- Use automated scripts to test various admin endpoints and confirm they are accessible.
- Attempt privilege escalation by sending manipulated parameters, headers, or cookies to user update endpoints.
- Test mass assignment by sending dangerous properties in profile update requests and verify if they are applied.
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.
This report describes a website where a normal user account could see and do things that only administrators should be able to. The site did not check properly whether the user was allowed to access certain pages or perform certain actions, so the user could see private information and even change their own role to admin.
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.