How I Discovered a Reflected XSS Vulnerability on a Major German
A search parameter on a German furniture retailer's website reflected user input without sanitisation, allowing script execution in the victim's browser. An attacker could craft a link that runs JavaScript to access session data or redirect users.
Published on medium.com
In the world of cybersecurity, sometimes the most impactful discoveries come from the simplest entry points. Recently, while exploring the security posture of various e-commerce platforms, I identified a significant Cross-Site Scripting (XSS) vulnerability on online-moebel-kaufen.de, a prominent German furniture…
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 search parameter was echoed into the page without output encoding or sanitisation.
Impact
An attacker could steal session cookies, hijack accounts, redirect users to phishing sites, or deface the website, though the attack requires the victim to click a crafted link.
What the attacker needed
Victim clicks a crafted link
The fix
The vulnerability was fixed by the website operator after disclosure.
How it was found
- Intercept a request to the search feature.
- Inject a JavaScript payload into the search parameter.
- Craft a malicious URL containing the payload.
- Open the URL and observe the script executing in the browser.
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.
When you type something into a search box, the website often puts your words back on the page. If the site does not clean that text first, an attacker can put code in the link so the site runs it in your browser. This is called reflected cross-site scripting, and it lets the attacker act as you on that site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.