My First vulnerability found (No-bounty)
The login panel accepted a username/ID with an empty password, and the IDs were sequential numeric values. By automating requests, the author could log in as other companies without a password.
medium.com
Published on medium.com
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 authentication logic only verified that the supplied user identifier existed and did not validate the password at all.
Impact
An attacker could log in as other companies without a password, gaining access to their data.
What the attacker needed
Knowledge of a valid username/ID; numeric, sequential identifiers
How it was found
- Open the login panel.
- Enter a known username/ID and leave the password field empty.
- Press login and observe that access is granted.
- Use a Python script with the requests library to try other numeric IDs.
- Log in as other companies without a password.
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 login page should check both a username and a password. Here, the system only checked that the username existed and ignored the password entirely. Because usernames were simple numbers, someone could guess other companies' usernames and log in as them.
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.