CVE-2023-42789 Memory corruption in FortiOS

Critical 9.3 Published Updated

Attackers can execute unauthorized code via crafted HTTP requests due to an out-of-bounds write in Fortinet network security products.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-42789?

CVE-2023-42789 is a critical memory corruption vulnerability in Fortinet Fortios, published on 12 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A out-of-bounds write vulnerability in Fortinet FortiOS 7.4.0 through 7.4.1, FortiOS 7.2.0 through 7.2.5, FortiOS 7.0.0 through 7.0.12, FortiOS 6.4.0 through 6.4.14, FortiOS 6.2.0 through 6.2.15, FortiProxy 7.4.0, FortiProxy 7.2.0 through 7.2.6, FortiProxy 7.0.0 through 7.0.12, FortiProxy 2.0.0 through 2.0.13, FortiSASE 23.2.b allows attacker to execute unauthorized code or commands via specially crafted HTTP requests.

Weakness: CWE-787

Which versions are affected by CVE-2023-42789?

It affects 2 products.

Products include Fortinet Fortios, Fortinet Fortiproxy.

How do I fix CVE-2023-42789?

No fix has been published for CVE-2023-42789 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-42789 being exploited?

There is no known exploitation of CVE-2023-42789 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-96vw-xpr8-777x.

Is CVE-2023-42789 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free