Cisco VPN Bug Bounty: Path Traversal and XSS via SAML Endpoint E
A Cisco VPN SAML endpoint was vulnerable to path traversal through the lang parameter, leaking an internal Lua file, and to reflected XSS via the SAMLResponse parameter. An attacker could read server-side logic and execute script in a victim's browser.
Published on infosecwriteups.com
Hi! I’m Aftab Raja, a cybersecurity enthusiast and bug bounty hunter.
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 translation-table endpoint did not restrict the lang path and the SAML response endpoint did not sanitise the SAMLResponse value before reflecting it.
Impact
An attacker could read internal server-side logic and run script in a victim's browser, enabling session hijacking or phishing.
What the attacker needed
Access to the VPN portal; victim visits a crafted link
How it was found
- Enumerate subdomains and find the VPN portal.
- Browse the VPN subdomain and note Cisco SAML URL patterns.
- Send a request to the translation-table endpoint with a traversal in the lang parameter.
- Intercept the SAML response endpoint and submit a crafted SAMLResponse value.
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.
The VPN login page had two flaws. One let a user ask the server for files outside the intended folder, revealing internal code. The other let a user put script into a login response, which the browser then ran, potentially stealing sessions or showing fake login forms.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.