A easy Blind XSS
The contact form on a mostly static website accepted user input that was later viewed by support staff, and the author injected a blind cross-site scripting payload into the company name and message fields. When an employee opened the submission, the payload executed in their browser, allowing the author to capture cookies and IP addresses.
medium.com
Published on medium.com
The story starts like this …. I was appointed on a project and was planning to get a bit unique things ( I never got blind xss before hehe).
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
The author could capture cookies and IP addresses of support staff, and claims this could expose sysadmin information.
What the attacker needed
A contact form that stores input for staff; a blind XSS tool to receive callbacks; a staff member views the submission
How it was found
- Find a contact form with fields such as name, email, message, company name and phone number.
- Insert a blind XSS payload into the company name and message fields.
- Submit the form and wait for a support employee to view the submission.
- Check the blind XSS tool for a callback showing execution, IP addresses and cookies.
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 blind cross-site scripting bug happens when a website saves what you type and later shows it to someone else, like a support worker, without cleaning it first. The attacker never sees the code run in their own browser, but when the worker opens the message, hidden code runs on the worker's computer. That code can steal the worker's login cookies, which are small files that keep someone signed in.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.