CVE-2022-33871 Memory corruption in FortiWeb

Medium 6.3 Published Updated

A privileged attacker can execute arbitrary code via crafted CLI backup operations in FortiWeb due to a stack-based buffer overflow.

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

What is CVE-2022-33871?

CVE-2022-33871 is a medium-severity memory corruption vulnerability in Fortinet Fortiweb, published on 16 Feb 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A stack-based buffer overflow vulnerability [CWE-121] in FortiWeb version 7.0.1 and earlier, 6.4 all versions, version 6.3.19 and earlier may allow a privileged attacker to execute arbitrary code or commands via specifically crafted CLI `execute backup-local rename` and `execute backup-local show` operations.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2022-33871?

It affects 1 product.

Products include Fortinet Fortiweb.

How do I fix CVE-2022-33871?

No fix has been published for CVE-2022-33871 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-2022-33871 being exploited?

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

All Fortinet Fortiweb vulnerabilities

Sources

Also known as GHSA-w5f6-wm5p-vwm3.

Is CVE-2022-33871 in your software?

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

Check your SBOMs for free