Skip to content
DoS Disclosed report Beginner

No Rate Limit on redditgifts gift when Adding Comment

The add comment endpoint had a rate limit set too high, allowing an attacker to post over 1000 comments per minute. This could overload the server and slow down post loading.

gaurav-bhatia Follow

Originally disclosed on HackerOne

  • Triaged in 10 hours
  • Fixed in 2 days
  • Paid in 10 hours
  • Disclosed after 5 months

Hi team, I hope this report should not be closed as INFORMATIVE

#Summary: The add comment endpoint was improperly rate-limited so the potential attacker could post a large number of comments, overloading the server .

#Description: The add comment endpoint has a speed limit, but the number is set too high, so speed limiting is activated when you write more than 1000 comments per minute.

#Environment: Scope: Web Application Attack type: OWASP API TOP10 Lack of Resources & Rate Limiting Maximum user privileges needed to reproduce your issue: no privileges

#Steps To Reproduce: 1.Go to any post. 2.Turn on Intercept and Add a Comment. 3.Send request to Intruder. 4.Set your payloads and start attack. 5.There is no rate-limit.

#Note: If there is any problem in reproduction from your side then i will provide you with video poc.

#POC: You can observe the time taken to load the post before performing the attack and after performing the attack. It will show that the post takes alot time to load after the attack.

#Fix: Developers alleviated the problem by setting the speed limit to low for endpoints that set the speed too high.

Regards, Gaurav Bhatia

Impact

No rate limit on comments can lead to slow down of server due to large number of comments in the post.

The original report as published on HackerOne, by gaurav-bhatia. 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 rate limit threshold for the add comment endpoint was configured too permissively, allowing excessive requests before throttling.

Impact

A large number of comments could slow down the server and make posts take longer to load.

What the attacker needed

No privileges

The fix

The developers fixed it by lowering the speed limit for endpoints that had it set too high.

How it was found

  1. Go to any post.
  2. Turn on Intercept and Add a Comment.
  3. Send request to Intruder.
  4. Set your payloads and start attack.
  5. There is no rate-limit.

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 rate limit is a cap on how many actions you can do in a certain time, like posting comments. Here the cap was set so high that someone could flood the site with comments, making it slow for everyone. The fix was to lower that cap.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by gaurav-bhatia

View all

3 more disclosed reports, best first.

More from Reddit

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.