“RXSS! on Mercedes-Benz”
A reflected cross-site scripting vulnerability existed in Liferay Portal's marketplace app manager, allowing an unauthenticated attacker to inject JavaScript via a crafted URL. The author found a Mercedes-Benz instance vulnerable and reported it, which was accepted as P3.
medium.com
Published on medium.com
For Non-Members: Free Link
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 reflected unsanitised user input from a query parameter into an HTML attribute without proper escaping.
Impact
An attacker could steal cookies, perform phishing or redirection, and hijack sessions on public-facing portals.
What the attacker needed
Victim clicks a crafted link; target runs vulnerable Liferay version
The fix
The vulnerability should be fixed by using built-in HTML escaping methods, disabling reflection of user input into meta tags, and applying the latest security patches.
How it was found
- Find Liferay instances using Shodan with a specific search query.
- Select a target from the results.
- Craft a URL with a malicious iconURL parameter containing an XSS payload.
- Visit the URL and observe JavaScript execution.
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 shows user input without cleaning it, so an attacker can make the site run their own JavaScript. Here, a link could contain code that runs in a victim's browser when they click it, potentially stealing cookies or redirecting them.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.