Skip to content
Access control Disclosed report Beginner CVE-2023-28847

Missing brute force protection for passwords of password protected share links

Password-protected share links lacked rate limiting on password attempts, allowing an attacker to brute-force the password and gain access to the shared files.

hackit_bharat Follow

Originally disclosed on HackerOne

  • Triaged in 5 hours
  • Fixed in 8 days
  • Disclosed after 49 days

Summary by the program

SA: https://github.com/nextcloud/security-advisories/security/advisories/GHSA-r5wf-xj97-3w7w

The report

Hi Team,

I hope you are doing well.

Vulnerability Name :- Bypass Password of Shared Files due to Lack of Rate Limit

Vulnerability Description :- Hi Team, I found a vulnerability in which I am able to bypass password protection of shared files due to lack of Rate limit.

Vulnerable URL :- https://efss.qloud.my/index.php/s/7ARMkjXJXAEz2kr

Steps to Reproduce :- 1. Login --> Go to Files --> Set Password. 2. Copy Shared Link. 3. It looks like :- https://efss.qloud.my/index.php/s/7ARMkjXJXAEz2kr 4. Open it in other browser . 5. It asks for password . 6. Enter random password. 7. Capture this request in burp suite. 8. 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 303.

Impact

It leads to bypass the password of protected share files.

POC Attached

If you need further info I am here to help you.

Thanks and Regards, BhaRat

Attachments

Shares_bypass.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 application did not enforce rate limiting or account lockout on password attempts for share links.

Impact

An attacker could bypass the password of protected share files and access their contents.

What the attacker needed

A password-protected share link; ability to send many requests

How it was found

  1. Log in and create a password-protected share link.
  2. Copy the share link and open it in another browser.
  3. Enter a random password and capture the request.
  4. Send the request to an intruder tool and set the password position.
  5. Start the attack with a list of passwords.
  6. After a few minutes, the password is bypassed with a 303 response.

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.

A share link is a URL that lets someone access a file without logging in, and it can be protected by a password. The server did not limit how many times someone could guess the password, so an attacker could try many passwords quickly until one worked. This is called brute force.

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.

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.

Broken access control

The lesson behind this report.

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.