#VU56380 Code Injection in FortiOS - CVE-2021-36169


Vulnerability identifier: #VU56380

Vulnerability risk: Low

CVSSv4.0: 1 [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/E:U/U:Clear]

CVE-ID: CVE-2021-36169

CWE-ID: CWE-94

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
FortiOS
Operating systems & Components / Operating system

Vendor: Fortinet, Inc

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

FortiOS: 6.2.0 - 6.2.9, 6.4.0 - 6.4.6, 7.0.0


External links
https://www.fortiguard.com/psirt/FG-IR-21-091


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability