CVE-2021-36800 Akaunting OS Command Injection in 'Money.php'

High 8.7 Published Updated

Attackers can execute arbitrary PHP code via crafted POST requests to the invoice endpoint in Akaunting accounting software.

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

CVE-2021-36800 is a high-severity code injection vulnerability in Akaunting, published on 4 Aug 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Akaunting version 2.1.12 and earlier suffers from a code injection issue in the Money.php component of the application. A POST sent to /{company_id}/sales/invoices/{invoice_id} with an items[0][price] that includes a PHP callable function is executed directly. This issue was fixed in version 2.1.13 of the product.

Weakness: CWE-94

Which versions are affected by CVE-2021-36800?

It affects 1 product.

Products include Akaunting Akaunting.

How do I fix CVE-2021-36800?

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

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

Sources

Also known as GHSA-2wq2-vmgv-993c.

Is CVE-2021-36800 in your software?

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

Check your SBOMs for free