Skip to content
Business logic Disclosed report Beginner

No Rate Limit On Forgot Password on https://apps.nextcloud.com

The password reset endpoint on apps.nextcloud.com did not enforce rate limiting, allowing an attacker to send many reset requests in a loop. This could lead to email bombing, financial loss from email service costs, and service slowdown.

cyber_world_01 Follow

Originally disclosed on HackerOne

  • Disclosed after 3 months

Hi, I have found no rate Limit on forgot password.

Summary:- A rate limiting algorithm is used to check if the user session (or IP address) has to be limited based on the information in the session cache. In case a client made too many requests within a given time frame, HTTP servers can respond with status code 429: Too Many Requests. (wikipedia) I just realized that on the reset password page, the request has no rate limit which then can be used to loop through one request.

Step to reproduce:- 1-Go to https://apps.nextcloud.com/password/reset/. 2- Enter email address 3- Intercept burp and send request to intruder 4- Select the number 1 to 50 and click on start attack. 5- You will get 302 OK 6- I already attached the PoC video too if you don't understand my explanation and Sorry for inconvenience for video please do mute before watching video.

Suggested to fix:- Use CAPTCHA verification if many requests are sent.

Reference:- https://hackerone.com/reports/751604

Impact

If You Are Using Any Email Service Software API Or Some Tool Which Costs You For Your Email This Type Of Attack Can Result You In Financial Lose And It Can Also Slow Down Your Services It Can Take Bulk Of Storage In Sent Mail Although If Users Are Affected By This Vulnerability They Can Stop Using Your Services Which Can Lead To Business Risk Attackers could use this vulnerability to bomb out the email inbox of the victim.

Attachments

The original report as published on HackerOne, by cyber_world_01. 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 password reset endpoint lacked any rate-limiting mechanism to restrict repeated requests from the same client.

Impact

An attacker could bomb a victim's email inbox and cause financial loss or service slowdown for the site owner, though the report does not demonstrate a full account takeover.

What the attacker needed

Victim's email address known

The fix

The report suggests adding CAPTCHA verification when many requests are sent, but it does not state that a fix was applied.

How it was found

  1. Go to the password reset page.
  2. Enter an email address.
  3. Intercept the request with Burp and send it to Intruder.
  4. Configure Intruder to send numbers 1 to 50 and start the attack.
  5. Observe that the server responds with 302 OK for each request.

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 password reset page lets you ask the site to send a reset link to your email. Normally the site should limit how many times you can ask in a short period. Here, there was no such limit, so someone could flood a victim's inbox with reset emails or run up the site's email bill.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.