Broken Access Control on samsung.com subdomain leads to Mass Account Takeover of Samsung employees application accounts
An unauthenticated REST API endpoint on a Samsung subdomain exposed the authentication codes of approximately 200 users, including administrators. An attacker could use a leaked auth code to log in as any affected user and access the application, including administrator-only functionality.
Account Takeover Broken Access Control Bug Bounty
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 REST API endpoint lacked any authentication or authorisation check, allowing unauthenticated users to retrieve sensitive user data including authentication codes.
Impact
An attacker could access the application as any of the approximately 200 affected users, including administrators, and view employee credentials and personal information.
What the attacker needed
No account required; Knowledge of the vulnerable endpoint
The fix
The issue was fixed by adding an authorisation check that returns a 403 error for unauthorised access.
How it was found
- Discover subdomains of samsung.com and identify a subdomain with a login page.
- Use a browser extension to passively scan JavaScript files for endpoint links.
- Filter the list of endpoints with a fuzzing tool to find those returning HTTP 200.
- Access the endpoint that lists users and observe the returned data including authCode values.
- Initiate the login flow on account.samsung.com to obtain a valid auth code.
- Replace the obtained auth code with a leaked one to access the application as the victim.
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 had a hidden web address that, when visited, listed details about its users, including a secret code used to log in. Anyone who found that address could take that code and use it to sign in as another person, even an administrator, without knowing their password.
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.