It Started With Blind XSS: How a Travel Website Fell to Account T
A blind XSS vulnerability in a contact form allowed the attacker to execute JavaScript in an internal staff member's browser, which was then used to display a fake login prompt and capture credentials. Using the stolen credentials, the attacker logged into the application and accessed sensitive customer and employee data, as well as unauthenticated backend APIs.
Published on medium.com
Hi, I’m Khushahal Sharma, a cybersecurity professional focused on web and API security, with hands-on experience in vulnerability assessment, penetration testing, and responsible disclosure.
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 contact form input was not properly sanitised before being displayed in the internal staff portal, allowing script injection.
Impact
The attacker could take over an internal account and access sensitive employee and customer data, as well as unauthenticated APIs exposing further information.
What the attacker needed
Victim opens inquiry in internal system; attacker has interaction server
How it was found
- The attacker identified the contact/inquiry form as a potential entry point for blind XSS.
- The attacker submitted a blind XSS payload into the inquiry form.
- The payload executed when a support team member opened the inquiry in the internal system, confirmed by a callback to the attacker's server.
- The attacker then crafted a payload that displayed a fake session-expiration message to capture credentials.
- The attacker used the captured credentials to log into the application.
- The attacker accessed sensitive data and unauthenticated APIs.
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 XSS is a type of cross-site scripting where the malicious script is stored on the server and later executed in the browser of someone who views the data, such as an internal staff member. In this case, the attacker put a script into a contact form, and when an employee opened the inquiry, the script ran and showed a fake login page to steal the employee's password. With that password, the attacker could log in and see private information.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.