IDOR leads to Leakage an ██████████ Login Information
An IDOR vulnerability in a chat application allowed an attacker to leak usernames, which are required for login authentication. The attacker used the leaked username to access a protected panel and noted that the login page lacked rate limiting, enabling brute-force attacks.
Originally disclosed on HackerOne
- Triaged in 1 hour
- Fixed in 29 days
- Disclosed after 36 days
Hi security team, According to my report #1092618, The VDP team agreed that █████████ and it's subdomains is in the scope of the DoD program I continue testing that domain . .
##Issue Description: There is an IDOR in██████.███████ that connected with ████████.███████ (highly protected encryption chat app) . This IDOR leaks only the usernames When I used this IDOR in my account it leaks my username which is required for the login authentication So I tried to get the █████████ username in order to use this credential to access to the ██████████ panel in██████.██████ And It Worked I get the ███ username which is required for the login authentication
displayname "█████"
.
.
With the correct ██████████ username an attacker can easily make a successful Bruteforce attack by using simple bruteforce tools to get access the █████████ panel as there is no rate limit in the login page
.
.
.
##Expected Behavior 403 forbidden
Impact
With the correct █████████ username an attacker can easily make a successful Bruteforce attack by using simple bruteforce tools to get access the ███████ panel as there is no rate limit in the login page
System Host(s)
██████.██████████.████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
1 - Visit██████████.██████ 2 - Sign in ( You can my test account username:███ and password: ███████████████ ) 3 - Now you logged in████.████████ 4 - Visit█████.████/████.█████████ 5 - After that try replace the username █████████ with ████ /█████@██████:█████.████████ 6 - Final link███.███████/████@████████:███████.██████ 7 - Notice the █████████ username
Suggested Mitigation/Remediation Actions
██████████.███████.███████ Should use HTTP Authorization header or The directory /████████/ should not be accessed by any one
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 application failed to verify that the requesting user was authorised to access the username information, allowing any authenticated user to retrieve other users' usernames.
Impact
An attacker could obtain valid usernames and, because the login page has no rate limit, perform a brute-force attack to gain access to the protected panel.
What the attacker needed
A valid account on the chat app; knowledge of the vulnerable URL pattern
The fix
The application should use an HTTP Authorization header instead of exposing usernames in URLs, and the directory containing the vulnerable endpoint should be restricted from public access.
How it was found
- Visit the chat application's login page.
- Sign in with a test account.
- After logging in, visit a specific URL that contains a username parameter.
- Replace the username in the URL with a target username.
- Observe that the target username is displayed.
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 IDOR (Insecure Direct Object Reference) is a flaw where a website lets you access data by changing an identifier in the URL or request, without checking if you are allowed. Here, the attacker could see other users' usernames, which are needed to log in. With a valid username and no limit on login attempts, someone could guess passwords until they get in.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.