Discovering 3 in a Row: BAC Read-only Vulnerabilities Total $4,18
Some application functions were missing from the permissions list, so a read-only user could create objects in those sections. An attacker with a read-only account could perform actions that should have been restricted.
Mr Robert | Ahmed M Hassan Follow
Published on medium.com
Hey everyone! I’m excited to share that I recently discovered three security vulnerabilities in a private program on HackerOne, earning rewards totaling $4,182.
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, new application sections were added without being included in the central permissions list, so access control was not enforced for those sections.
Impact
A read-only user could create objects in sections missing from the permissions list, which could lead to unauthorised actions depending on what those sections control.
What the attacker needed
A read-only user account; a section missing from the permissions list
The fix
New sections and functions should be added to the permissions list so that access is restricted according to user roles.
How it was found
- Log in to the application with a read-only user account.
- Look for a new section or function and check whether it is included in the permission list and roles.
- Try to create something new in that section as a read-only user.
- If the process succeeds, it means there is a security vulnerability.
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 permissions list is meant to say which user roles can use which parts of an application. Here, some newer parts were left off the list, so the system did not stop a low-privilege user from using them. That let a read-only user do things they should not have been allowed to do.
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.