PAN-OS CVE-2025–0133 | XSS
A reflected cross-site scripting flaw in the PAN-OS GlobalProtect portal lets an attacker run JavaScript in the browser of an authenticated captive portal user who clicks a crafted link. The main risk is phishing and credential theft, especially when Clientless VPN is enabled.
osintteam.blog
Published on osintteam.blog
Hi readers, this write-up is a hands-on practical guide to hacking PAN OS XSS which leads to Reflected XSS, I have provided how to find PAN OS Instances, Payload, POCs hope you enjoy and Hack Responsibly.
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 portal reflects a user-supplied parameter into the response without proper output encoding, allowing script markup to execute.
Impact
An attacker could run JavaScript in an authenticated user's browser, mainly for phishing and credential theft, with greater risk if Clientless VPN is enabled; there is no impact on availability or configuration.
What the attacker needed
Victim is an authenticated captive portal user; victim clicks a crafted link; target runs a vulnerable PAN-OS version
How it was found
- Find PAN-OS instances using Shodan or Fofa search queries.
- Take a target portal URL.
- Append the crafted getconfig.esp request containing the script payload in the user parameter.
- Visit the link and the reflected XSS fires if the instance is vulnerable.
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 puts attacker-supplied text into a page without making it safe, so the browser runs it as code. Here the portal takes a value from the link's address and reflects it back into the page, so a crafted link can make the victim's browser run JavaScript. The attacker needs the victim to click the link while logged in.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.