Fortinet FortiSandbox hcproxy Cross-Site Scripting Remote Code Execution Vulnerability
The FortiSandbox hcproxy component fails to validate user-supplied data in HA cluster paths, allowing script injection. An attacker could execute arbitrary code with minimal user interaction.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Fortinet FortiSandbox. Minimal user interaction is required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing input validation and output encoding of user-supplied data in HA cluster path handling.
Impact
An attacker could execute arbitrary code on affected installations, with minimal user interaction required.
What the attacker needed
Minimal user interaction
The fix
Fortinet issued an update to correct this vulnerability.
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.
This is a cross-site scripting (XSS) flaw: a web page takes input from a user and puts it into the page without cleaning it, so an attacker can make the page run their own script. Because the affected component is part of a security appliance, the attacker may be able to turn that script into running code on the device itself.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.