How I Received an Appreciation Letter from NASA for Identifying a CVE
A reflected cross-site scripting flaw existed in the PAN-OS GlobalProtect captive portal endpoint, where the user parameter was not properly sanitised. An attacker could craft a link that, when opened by an authenticated captive portal user, would execute malicious JavaScript in their browser.
Published on medium.com
A Late-Night Bug Hunting Story Filled With Persistence, Music & “Bass 3 Targets Aur Dekh Leta Hoon!” 🎧
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 steal credentials, conduct phishing, or compromise the clientless VPN of an authenticated captive portal user.
What the attacker needed
Victim clicks a crafted link; victim is an authenticated captive portal user; attacker knows a vulnerable PAN-OS host
How it was found
- Search Shodan for PAN-OS devices belonging to the target organisation.
- Pick a host and replace the login path with the vulnerable getconfig endpoint.
- Send a request with a crafted user parameter containing an SVG with a script.
- Observe the script executing in the browser.
- Repeat the same request against the real domain to confirm reproducibility.
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 something a user typed or clicked and puts it into the page without cleaning it first, so an attacker can sneak in their own code. Here, a part of the login page that handles the username did not clean the input, so a specially crafted link could make the victim's browser run the attacker's script. That script could then steal the victim's session or show fake login prompts.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.