Unleashing the Chaos: My Dive into Denial-of-Service (DoS) Attack
The application lacked rate limiting and input size restrictions on several endpoints, including blog posts, feedback submissions, calendar events, comments, and certificate uploads. An attacker could flood these endpoints with automated requests, exhausting server resources and causing a denial of service.
Published on medium.com
During a recent penetration testing exercise, I was tasked with testing an internal educational platform for potential vulnerabilities, particularly those that could lead to Denial-of-Service (DoS) attacks. As the platform was used by employees to complete mandatory courses and explore additional learning…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application failed to implement rate limiting and input size validation on multiple user-facing endpoints, allowing automated abuse.
Impact
The coordinated flood of requests caused the server to become unresponsive, preventing legitimate users from logging in, submitting feedback, or viewing the calendar.
What the attacker needed
A user account on the platform; ability to send HTTP requests (e.g., via proxy); automation tool for flooding requests
The fix
The application should implement rate limiting, throttling, and input size restrictions on all endpoints to prevent automated abuse.
How it was found
- Log in and explore the platform to find features like course enrollment, certificate downloads, and profile uploads.
- Use Dirsearch to discover hidden directories such as /blog and /error.
- Test the blog upload by sending multiple simultaneous posts and observe no rate limiting.
- Test the feedback form by submitting extremely long text and multiple requests, causing persistent banners to stack.
- Intercept calendar event creation requests and modify parameters to create events for multiple dates, then automate many requests.
- Automate comment submission and certificate uploads, then chain all endpoints to flood the server and cause unresponsiveness.
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 write-up has not been written yet. The Original tab links to the source.
This report describes a denial-of-service (DoS) attack, where an attacker overwhelms a server with too many requests so that it becomes slow or stops working for legitimate users. The tester found that features like posting blog entries or submitting feedback had no limits on how often or how much data could be sent, allowing automated tools to flood the system. The fix is to add rate limiting (a cap on requests per user) and input size limits.
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.