CVE-2023-23781 Memory corruption in FortiWeb

Medium 6.1 Published Updated

An authenticated attacker can achieve arbitrary code execution via crafted XML files in FortiWeb SAML configuration.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-23781?

CVE-2023-23781 is a medium-severity memory corruption vulnerability in Fortinet Fortiweb, published on 16 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A stack-based buffer overflow vulnerability [CWE-121] in FortiWeb version 7.0.1 and below, 6.4 all versions, version 6.3.19 and below SAML server configuration may allow an authenticated attacker to achieve arbitrary code execution via specifically crafted XML files.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2023-23781?

It affects 1 product.

Products include Fortinet Fortiweb.

How do I fix CVE-2023-23781?

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

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

All Fortinet Fortiweb vulnerabilities

Sources

Also known as GHSA-gvqr-h2cc-jf46.

Is CVE-2023-23781 in your software?

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

Check your SBOMs for free