OLX reflected XSS
A URL path segment on a Dubizzle property listing page was reflected unescaped into an HTML link tag, letting an attacker inject an accesskey and onclick handler. A victim who opened the crafted link and pressed a keyboard shortcut would run the attacker's script in the site's context.
Published on medium.com
Who would have thought that there was even a bug that we could find on page 404 Not Found right?
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
Impact
An attacker could run script in the victim's browser session on the site, but only if the victim opened the crafted link and then pressed the specific key combination.
What the attacker needed
Victim opens the crafted link; victim presses ALT+SHIFT+X
The fix
The bug was fixed, after which the researcher was added to the security hall of fame.
How it was found
- Open the crafted property-for-sale URL on the sharjah subdomain.
- Observe that the injected markup is reflected inside an HTML link tag.
- Press the keyboard shortcut defined by the injected accesskey attribute.
- See the JavaScript alert fire.
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 a site puts part of the address you typed straight into the page without cleaning it, an attacker can slip in extra HTML. Here the injected attribute made a hidden keyboard shortcut that ran JavaScript when pressed. That lets the attacker run code as the logged-in user 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.