LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 8.7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Akaunting 2.1.12 and earlier allowed dangerous code execution through invoice price handling. A highly privileged user updating an invoice could make the application execute a PHP callable. The issue was fixed in 2.1.13. Business urgency is highest for organizations running affected Akaunting versions with exposed administrative access.

Executive priority

Prioritize remediation if Akaunting is used for finance workflows, especially if administrative access is internet-facing or broadly assigned. The flaw has high impact, but the cited CVSS privileges requirement reduces broad unauthenticated exposure.

Technical view

CVE-2021-36800 is a CWE-94 code injection flaw in Akaunting Money.php. A POST to /{company_id}/sales/invoices/{invoice_id} with a crafted items[0][price] value can be executed directly as a PHP callable. CVSS 3.1 is 8.7 with network access, low complexity, high privileges, no user interaction, and changed scope.

Likely exposure

Exposure is limited to Akaunting deployments running version 2.1.12 or earlier. The CVSS vector indicates exploitation requires high privileges, so affected paths are most relevant where invoice-editing users, admins, or compromised privileged accounts can access the application.

Exploitation context

The provided sources describe the vulnerable request pattern and fixed version, but do not cite active exploitation. The CVE is not marked KEV in the source bundle. Risk is mainly from malicious insiders, compromised privileged accounts, or exposed administrative interfaces.

Researcher notes

Evidence supports code injection in Money.php through invoice price processing and a fix in 2.1.13. The source bundle does not provide exploit status beyond the request shape, and it does not identify affected versions beyond 2.1.12 and earlier.

Mitigation direction

  • Upgrade Akaunting to version 2.1.13 or later.
  • Restrict access to Akaunting administrative and invoice-editing functions.
  • Review privileged Akaunting accounts and remove unnecessary access.
  • Check vendor and Rapid7 guidance for any additional hardening recommendations.
  • Monitor logs for unusual invoice update activity.

Validation and detection

  • Inventory Akaunting deployments and confirm installed versions.
  • Verify no production instance is running 2.1.12 or earlier.
  • Confirm invoice update access is limited to required privileged users.
  • Review application logs for suspicious sales invoice update requests.
  • Validate the upgrade in staging before production rollout.
Prepared
Confidence
high
Sources
3

Public sources used

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-94: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-36800 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.7CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N2.35.8Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.7High
CVSS 3.1 vector shape for CVE-2021-36800Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
AkauntingAkaunting2.1.12Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-94 · source CWE mapping

Improper Control of Generation of Code ('Code Injection')

Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.