Skip to content
XSS Write-up Beginner

My Latest Bug: Reflected XSS on GlobalProtect VPN Portal (CVE-202

The GlobalProtect VPN portal's getconfig.esp endpoint reflected the user parameter into the HTML response without sanitisation, allowing script execution. An attacker could run JavaScript in a victim's browser, for example to show fake login prompts for phishing.

0verRida Follow

Published on medium.com

Today, I’m excited to share with you my latest discovery of a Reflected Cross-Site Scripting (XSS) vulnerability found on a GlobalProtect VPN Portal powered by Palo Alto Networks.

0verRida, on medium.com

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 endpoint echoed the user parameter into the HTML response without sanitising or encoding it.

Impact

The bug did not allow full compromise, but it could run JavaScript in a user's browser, which could be used for phishing through fake login prompts.

What the attacker needed

Victim opens a crafted link; target runs an unpatched PAN-OS portal

The fix

Input should be sanitised and special characters escaped before rendering, and PAN-OS should be updated to the patched version.

How it was found

  1. Search Shodan for exposed PAN-OS instances.
  2. Find the vulnerable getconfig.esp endpoint on a VPN portal.
  3. Put an SVG containing a script into the user parameter.
  4. Open the crafted URL and see the prompt box appear, confirming script 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.

A VPN portal is a web page people use to connect to a company network. This page took a value from the web address and put it straight into the page it sent back, so text typed into the address could become code that runs in the visitor's browser. That kind of flaw is called reflected cross-site scripting, and it lets an attacker make a link that runs their code when someone opens it.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.