Skip to content
XSS Disclosed report Beginner

Reflected XSS via user Parameter in /ssl-vpn/getconfig.esp

The user parameter of the /ssl-vpn/getconfig.esp endpoint reflects attacker-supplied input without encoding, allowing script execution in the victim's browser. An attacker could trick a user into clicking a crafted URL to run JavaScript in the context of the VPN portal.

aramx4 Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 16 days
  • Disclosed after 7 months

Description: A reflected Cross-Site Scripting (XSS) vulnerability was discovered in the user parameter of the endpoint /ssl-vpn/getconfig.esp on █████. This allows an attacker to inject and execute arbitrary JavaScript in a user’s browser by tricking them into clicking a specially crafted URL.

Given that this is on a .mil domain and part of a VPN configuration system, the exploitability is heightened due to user trust and the sensitive nature of VPN portals.

Proof-of-Concept (PoC) URL:

███████&enc-algo=aes-128-cbc%2Caes-256-cbc&authcookie=12cea70227d3aafbf25082fac1b6f51d&portal=us-vpn-gw-N&user=%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cscript%3Eprompt(%22XSS%22)%3C%2Fscript%3E%3C%2Fsvg%3E&domain=%28empty_domain%29&computer=computer

Impact

  • Allows JavaScript injection in the victim’s browser.

  • Can be used for phishing, session hijacking, or impersonating the secure VPN login interface.

  • Exploitable via social engineering (malicious links in emails or messages).

  • Especially critical on a .mil domain where trust is high.

System Host(s)

█████████

Affected Product(s) and Version(s)

Fortinet FortiGate SSL VPN Web Portal, version 3.0.1-10 (as referenced in URL parameter app-version)

CVE Numbers

Steps to Reproduce

  1. Navigate to the above PoC URL in any modern browser.

  2. Observe a JavaScript prompt("XSS") popup.

  3. This confirms successful execution of attacker-supplied script code via a reflected vector in the user parameter.

Suggested Mitigation/Remediation Actions

  • Apply output encoding to all reflected parameters.

  • Use input validation to reject or sanitize input containing <, >, ", ', and &.

  • Implement Content Security Policy (CSP) headers to reduce exploitability.

  • Conduct a broader audit of all getconfig.esp endpoints across .mil domains.

The original report as published on HackerOne, by aramx4. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application reflects the user parameter into the response without output encoding or input validation.

Impact

An attacker could run JavaScript in the victim's browser, which may be used for phishing, session hijacking, or impersonating the VPN login interface.

What the attacker needed

Victim clicks a crafted link; victim is logged in or trusts the portal

How it was found

  1. Open the crafted URL in a modern browser.
  2. Observe the JavaScript prompt popup.
  3. This confirms script execution via the reflected user parameter.

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 report has not been written yet. The Original tab links to the source.

When a website takes something you type in a link and puts it straight onto the page without cleaning it, an attacker can put code there instead of normal text. That code then runs in your browser as if the website itself had written it. This is called reflected cross-site scripting, or XSS.

What is XSS?

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

More by aramx4

View all

1 more disclosed report, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

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.