Fortinet FortiSandbox fortisandbox Server-Side Request Forgery Remote Code Execution Vulnerability
The web socket handling in FortiSandbox did not properly validate a URI before accessing resources, which is a server-side request forgery flaw. An authenticated attacker could use it to disclose sensitive information and execute code in the context of the current process.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Fortinet FortiSandbox. Authentication 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 the web socket handler passed a user-supplied URI to a resource-fetching routine without validating or restricting where it could point.
Impact
An authenticated attacker could disclose sensitive information and execute code in the context of the current process.
What the attacker needed
Valid credentials on FortiSandbox
The fix
Fortinet issued an update to correct the 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.
Server-side request forgery means the server can be tricked into fetching a resource of the attacker's choosing, such as an internal address the attacker cannot reach directly. Here the web socket feature accepted a URI without checking it first. Because the attacker is logged in, they could reach internal resources and, according to the advisory, run their own code on the server.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.