My First Cybersecurity Win: Finding a Bug in the Very First Program I Tested
The backend did not fully validate certain inputs during signup, trusting data that the front-end had blocked. An attacker could send a crafted request to trigger a 500 Internal Server Error every time, disrupting signup and leaking internal error messages.
Published on medium.com
Not long ago, I started exploring cybersecurity. As a university student, I was just curious about how web applications work behind the scenes.
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
Impact
It could disrupt the signup process for real users and leaked internal error messages, exposing a gap between front-end and back-end validation.
What the attacker needed
Access to the signup process
How it was found
- Go to the signup process.
- Notice that the front-end blocks bad data.
- Send a crafted request directly to the back-end.
- Observe a 500 Internal Server Error every time.
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.
A website usually has two parts: the front-end (what you see in the browser) and the back-end (the server that stores and processes data). Here, the front-end stopped bad data, but the back-end accepted it anyway. By sending a request directly to the back-end, the tester made the server crash and show an error message.
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.