First bounty — Second Order Stored XSS on club.paris2024.org
The registration form stored an XSS payload in the first name and last name fields, which was not executed immediately. The payload was later triggered in a birthday email viewed in a browser, causing a pop-up.
Published on medium.com
Hello, bug bounty hunters and ethical hackers! Today, I want to share the story of the first vulnerability I discovered that earned me a bounty.
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 stored user input without sanitisation and later rendered it unsafely in an email template.
Impact
An attacker could execute arbitrary JavaScript in the context of the email viewing domain when a birthday email is opened, potentially leading to actions such as showing a pop-up.
What the attacker needed
A free account; victim opens birthday email in browser
How it was found
- Go to the site and click on login.
- In every input field add the XSS payload.
- In the date of birth field provide today's date so you receive a birthday email.
- Open the email in a browser and a pop-up appears.
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 is a stored cross-site scripting (XSS) bug. The site saved a malicious script in a user's name, and later sent it in a birthday email. When the email was opened in a browser, the script ran and showed a pop-up.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.