How I Earned $150 for Reporting a Simple Parameter Bug
The login page reflected an error message from a URL parameter, allowing an attacker to change the displayed error text. The author reported this as a bug and received a bounty.
Published on medium.com
As someone who has always been interested in cybersecurity, I know that vulnerabilities come in all shapes and sizes. From complex SQL injections to simple logic flaws, every bug has the potential to cause significant issues for a website or application.
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 reflected a URL parameter (error_description) into the page without proper validation or encoding.
Impact
An attacker could make the site display arbitrary error text, which could be used for phishing or misleading users, though the text does not claim script execution.
What the attacker needed
Victim clicks a crafted link
How it was found
- Visit the login page and change a parameter to trigger an error.
- Notice the error message appears in the URL as a parameter.
- Modify the URL parameter to change the error message text.
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 sometimes puts information from the web address directly onto the page. Here, the error message shown on the login page could be changed by editing the address, which is a type of reflected content injection. This can be used to make a site display misleading text.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.