Basic auth header on WebDAV requests is not bruteforce protected
A WebDAV endpoint that prompts for HTTP Basic authentication did not limit repeated login attempts, so an attacker could guess passwords by sending many requests. The reporter claims this could lead to full account takeover once the correct password is found.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 32 days
- Paid in 53 days
- Disclosed after 3 months
Summary by the program
Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-mr7q-xf62-fw54
The report
Hi Team,
I hope you are doing well.
Vulnerability Name :- Basic Authentication Bypass due to Lack of Rate Limit
Vulnerable URL :- https://efss.qloud.my/remote.php/dav/calendars/[email protected]/app-generated--deck--board-5269/
Steps to Reproduce :- 1. Login --> Go to Tasks. 2. Copy private Link. 3. It looks like :- https://efss.qloud.my/remote.php/dav/calendars/[email protected]/app-generated--deck--board-5269/ 4. Open it in other browser . 5. It asks for username and password . 6. Username/email is in URL , enter same and for password enter random password. 7. Capture this request in burp suite. 8. There is an Auth header --> copy there value and see it's b64 encoded --> decode it --> create payloads of password and encode it as b64. 9. Send to intruder and select that position and paste the payload list. 10. Click on start attack and Boom! after few mins it got bypassed with Response code 200.
Impact
- Basic Authentication Bypass.
- Full Account takeover because attacker can easily know the password through here because of brute forcing as no rate limit is there.
Attachments
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 WebDAV endpoint accepted unlimited Basic authentication attempts without rate limiting or lockout.
Impact
An attacker could brute-force the password and, if successful, take over the account, as the reporter claims.
What the attacker needed
Knowledge of the victim's username or email; network access to the WebDAV endpoint; a password-guessing tool
How it was found
- Log in and open the Tasks area.
- Copy the private link shown for the item.
- Open that link in a different browser, which prompts for credentials.
- Enter the known username and a random password, then capture the request in a proxy.
- Decode the Base64 auth header, build a list of encoded password guesses, and run them through an intruder tool.
- Start the attack; a response code of 200 indicates a successful guess.
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.
Some web endpoints ask for a username and password using a built-in browser prompt called HTTP Basic authentication. The server here did not slow down or block repeated wrong guesses, so someone could try many passwords quickly with a tool. If one guess is right, they get into the account.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.