Skip to content
Account takeover Disclosed report Beginner CVE-2023-32319

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.

hackit_bharat Follow

Originally disclosed on HackerOne

High 8.1 View original
  • 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

  1. Basic Authentication Bypass.
  2. Full Account takeover because attacker can easily know the password through here because of brute forcing as no rate limit is there.

Attachments

Basic_auth.mp4 From the original on HackerOne

The original report as published on HackerOne, by hackit_bharat. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Log in and open the Tasks area.
  2. Copy the private link shown for the item.
  3. Open that link in a different browser, which prompts for credentials.
  4. Enter the known username and a random password, then capture the request in a proxy.
  5. Decode the Base64 auth header, build a list of encoded password guesses, and run them through an intruder tool.
  6. 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.

More by hackit_bharat

View all

4 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.