unauthorized access and add user and change personal information all users
An API endpoint for user registration and profile updates lacked authentication and authorisation checks, so anyone could create accounts or change other users' personal information. Predictable four-digit user identifiers also made it easy to enumerate valid profiles.
Originally disclosed on HackerOne
- Triaged in 17 hours
- Fixed in 35 days
- Disclosed after 7 months
Summary by the program
The report describes a vulnerability in the ██████████ website, where unauthorized access to an API endpoint allows attackers to add new users and modify personal information of existing users. The vulnerability is classified as Improper Access Control. The issue stems from the absence of proper authentication and authorization mechanisms on the ██████████ endpoint, which handles user registration and profile updates. This vulnerability allows anyone to create new user accounts or modify existing user information without requiring any authentication. Additionally, the vulnerability is compounded by a predictable user identifier system (4-digit codes) that can be easily enumerated through brute force methods to identify valid user profiles through the ██████████ endpoint.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the endpoint handling registration and profile updates had no authentication or authorisation checks, and user identifiers were short four-digit codes.
Impact
Anyone could create new user accounts or modify existing users' personal information without authentication, and could enumerate valid profiles.
What the attacker needed
No account needed; network access to the API
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 report has not been written yet. The Original tab links to the source.
An API is the part of a website that apps talk to directly, and it is supposed to check who is asking before doing anything. Here it did not check, so a stranger could add accounts or edit other people's details. The user numbers were also short and guessable, making it easy to find real users.
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.