How i found the rxss on hackerone vdp program?
A reflected cross-site scripting vulnerability was found in a search parameter on an e-commerce domain. An attacker could inject a script that executes in a victim's browser when they visit a crafted URL.
medium.com
Published on medium.com
so using burp spider, i started crawling, surprisingly i got more parameter based urls.
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 failed to sanitise or encode user input in the 'manufacturer' parameter before reflecting it into the HTML response.
What the attacker needed
Victim clicks a crafted link
How it was found
- Crawl the domain with Burp Spider to find parameter-based URLs.
- Identify a search URL with a 'manufacturer' parameter.
- Test for HTML injection by injecting a marquee tag.
- Confirm reflection and then inject a script tag to trigger XSS.
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.
Cross-site scripting (XSS) is when a website takes input from a user and puts it into a page without cleaning it, so an attacker can make the site run their own JavaScript. Here, the search page reflected a parameter value back into the HTML, allowing a script to run. This could let an attacker steal cookies or perform actions as the victim.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.