Code Injection in FortiOS - CVE-2021-36169

 

Code Injection in FortiOS - CVE-2021-36169

Published: September 7, 2021


Vulnerability identifier: #VU56380
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-36169
CWE-ID: CWE-94
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper input validation within the debug functionality in FortiGate. A local privileged user can execute unauthorized code or commands via specific
chains of `print str` and `cmd mem` cli commands to, respectively, read and write hexadecimal values to any memory address.


Affected software

FortiOS

How to mitigate CVE-2021-36169

Install updates from vendor's website.

FortiOS - addressed in versions 6.4.7, 7.0.1

External References

Related Security Bulletins