How I Discovered CVE-2025–0133 – Reflected XSS with Shodan Recon
A reflected cross-site scripting vulnerability was found in a PAN-OS SSL VPN endpoint where a user-supplied parameter was reflected without proper sanitisation. An attacker could execute arbitrary JavaScript in a victim's browser.
I used Shodan and manual testing to find these bugs. I’ll show how I discovered them, the payloads I used.
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 the 'user' parameter before reflecting it in the response.
Impact
An attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to session hijacking or other client-side attacks.
What the attacker needed
Victim clicks a crafted link; target runs PAN-OS SSL VPN
How it was found
- Choose a wildcard domain for the target.
- Use Shodan queries to find devices running PAN-OS related to the target domain.
- Test the SSL VPN endpoint with an XSS payload in the 'user' parameter.
- Observe that the payload executes, confirming the vulnerability.
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 directly into a page without cleaning it first. An attacker can craft a link that, when clicked, runs their own JavaScript in the victim's browser, potentially stealing data or performing 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.