How I Found Bug :: Reflected XSS (Cross-Site-Scripting) On a BBP.
A Fortinet SSL VPN web portal on a bug bounty target reflected user input in several URL parameters without proper encoding, allowing script injection. An attacker could craft a link that runs JavaScript in a victim's browser in the portal's context.
Published on medium.com
In this article i am going to tell you how i found Reflected XSS on a Public Bug Bounty Program.
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 inadequate input validation and output encoding of URL parameters in the Fortinet SSL VPN portal, matching known CVEs.
Impact
An attacker could run script in a victim's browser on the portal's domain, which could steal information or hijack sessions, though the report only demonstrates an alert box.
What the attacker needed
Victim clicks a crafted link; target runs a vulnerable Fortinet portal
How it was found
- Enumerate subdomains of the target and notice a Fortinet SSL VPN web portal
- Browse the portal manually and inspect URL parameters
- Look up known vulnerabilities for the portal and find two CVEs affecting multiple parameters
- Try triggering script execution through the identified parameters and confirm it fires
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 reflected cross-site scripting bug means a web page takes something from the address bar and puts it straight into the page without cleaning it. If that something is code, the browser runs it as if the site itself wrote it. The author found several places on a VPN login portal where this happened.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.