Buffer overflow in CA sign function

Summary

A stack-based buffer overflow vulnerability [CWE-121] in the CA sign functionality of FortiWeb may allow an authenticated attacker to achieve arbitrary code execution via specifically crafted password.

Affected Products

At least
FortiWeb 7.2 all versions are not affected
FortiWeb version 7.0.0 through 7.0.1
FortiWeb 6.4 all versions
FortiWeb version 6.3.6 through 6.3.19
FortiWeb 6.2 all versions are not affected
FortiWeb 6.1 all versions are not affected

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 Giulia Clerici of the Fortinet Product Security team.

Timeline

2023-02-16: Initial publication