FortiSandbox - Buffer overflow due to use of size of source buffer in libc safe functions


A stack-based buffer overflow vulnerability (CWE-121) in the profile parser of FortiSandbox may allow an authenticated attacker to potentially execute unauthorized code or commands via specifically crafted HTTP requests.

Affected Products

FortiSandbox 4.0.0.
FortiSandbox 3.2.2 and below.
FortiSandbox 3.1.4 and below.


Upgrade to FortiSandbox 4.0.1 or above.

Upgrade to FortiSandbox 3.2.3 or above.


Internally discovered and reported by Giuseppe Cocomazzi of Fortinet Product Security team.