OS command injection in Web GUI

Summary

An improper neutralization of special elements used in an os command ('OS Command Injection') [CWE-78] in FortiWeb may allow an authenticated attacker to execute arbitrary shell code as root user via crafted HTTP requests.

Affected Products

FortiWeb version 7.0.0 through 7.0.1
FortiWeb 6.4 all versions
FortiWeb version 6.3.0 through 6.3.19

Solutions

Please upgrade to FortiWeb version 7.0.2 or above
Please upgrade to FortiWeb version 6.3.20 or above

Acknowledgement

Internally discovered and reported by Théo Leleu of Fortinet Product Security team.

Timeline

2023-02-16: Initial publication