High resource consumption by insufficient sanitization of forum threads pagination
A forum's pagination logic entered an infinite loop when a URL specified a page number beyond the available pages, causing excessive resource consumption.
Originally disclosed on HackerOne
- Triaged in 22 hours
- Fixed in 2.5 years
- Paid in 22 hours
- Disclosed after 2.7 years
Summary by the program
On some paginated pages, if a page number was provided in the URL that was larger than the number of pages available, then internal logic would result in an infinite loop generating markup on each pass through the loop. By correcting the logic it was trivial to correct this case and avoid generating links to pages that don't exist.
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 pagination logic lacked a check to stop generating links once the requested page number exceeded the total number of pages, causing an infinite loop.
What the attacker needed
Access to a paginated forum page; ability to modify the page number in the URL
The fix
The logic was corrected to avoid generating links to pages that don't exist.
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 website's forum pages are split into numbered pages. If someone typed a page number that doesn't exist, like page 999 when there are only 5, the code got stuck in a loop that never ended, using up computer resources.
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.