Reflected XSS [██████]
A reflected cross-site scripting flaw existed in a search URL parameter, where the application echoed request data into the response without safe encoding. An attacker could run arbitrary JavaScript in a victim's session by getting them to open a crafted link.
- Triaged in 9 hours
- Fixed in 12 months
- Disclosed after 13 months
Reflected cross-site scripting (XSS) arises when an application receives data in an HTTP request and includes that data within the immediate response in an unsafe way. An attacker can execute JavaScript arbitrary code on the victim's session. Steps To Reproduce
Go to this URL: https://███████/7/0/33/1d/www.citysearch.com/search?what=x&where=place%22%3E%3Csvg+onload=confirm(document.domain)%3E
Impact
- Perform any action within the application that the user can perform.
- View any information that the user is able to view.
- Modify any information that the user is able to modify.
- Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user.
- Steal user's cookie.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could perform actions, view or change information, and steal cookies in the victim's session, though the report does not show a working theft against a real user.
What the attacker needed
Victim clicks a crafted link
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 report has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website takes something a user sends, like part of a web address, and puts it straight into the page without cleaning it. If that something is code, the browser runs it as if the site itself had written it. Here a crafted link made the search page run code in the visitor's browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.