CVE-2021-38180 Code injection in SAP Business One

Critical 9.8 Published Updated

Attackers can inject malicious formulas into exported Excel files, potentially executing arbitrary commands if the victim enables macros.

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-2021-38180?

CVE-2021-38180 is a critical code injection vulnerability in SAP Business One, published on 12 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SAP Business One - version 10.0, allows an attacker to inject formulas when exporting data to Excel (CSV injection) due to improper sanitation during the data export. An attacker could thereby execute arbitrary commands on the victim's computer but only if the victim allows to execute macros while opening the file and the security settings of Excel allow for command execution.

Weakness: CWE-1236

Which versions are affected by CVE-2021-38180?

It affects 1 product.

Products include Sap Business One.

How do I fix CVE-2021-38180?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-38180 being exploited?

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

Sources

Also known as GHSA-h8r6-3pj7-gwfh.

Is CVE-2021-38180 in your software?

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

Check your SBOMs for free