Skip to main content

FrontAccounting EUVDEUVD-2026-40080

| CVE-2026-40523 HIGH
SQL Injection (CWE-89)
2026-06-29 VulnCheck GHSA-8ccm-j5hq-9jhr
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with SA_GLANALYTIC account
  2. Delivery
    POST crafted payload to rep710.php PARAM_2/PARAM_3
  3. Exploit
    Injected SQL parsed by backend
  4. Execution
    UNION extracts data or JOIN-amplified SLEEP() executes
  5. Impact
    Database exfiltration or connection-pool exhaustion DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated FrontAccounting session whose user holds the SA_GLANALYTIC permission (the privilege gating the Audit Trail report) and access to the reporting/rep710.php Audit Trail report handler, where the malicious payload is placed in the PARAM_2 and PARAM_3 POST parameters. No user interaction or non-default configuration is needed beyond the application being reachable and the attacker possessing that permission. The principal limiting factors are the authentication requirement and that specific permission grant; the DoS amplification additionally depends on the audit query joining multiple tables (the default report behavior) to multiply the SLEEP() cost.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H, base 7.2) describes a network-reachable, low-complexity attack requiring low privileges and no user interaction, yielding high confidentiality and availability impact with no integrity impact - consistent with read-oriented UNION data theft plus connection-exhaustion DoS. The key limiting factor is authentication: the attacker must already hold a valid account carrying the SA_GLANALYTIC permission, which narrows the threat to authorized-but-malicious or compromised users rather than anonymous internet attackers. Publicly available exploit code raises practical risk, but the absence of a CISA KEV listing means there is no confirmation of active exploitation, and no EPSS score was provided in the input to gauge exploitation probability. Net assessment: a genuine priority for any internet-exposed FrontAccounting instance with multiple or low-trust users, but the privilege requirement keeps it below an unauthenticated-RCE tier; the missing EPSS data should be retrieved to refine prioritization.

Exploit ScenarioDerived

A disgruntled accounting clerk, or an external attacker who has phished a low-privilege FrontAccounting login that carries SA_GLANALYTIC, opens the Audit Trail report and submits a crafted POST request placing a UNION SELECT into PARAM_2/PARAM_3 to dump user password hashes and financial records. Alternatively the same actor injects a JOIN-amplified SLEEP() payload to saturate the database connection pool and take the application offline. Public exploit/writeup code is available, lowering the skill needed to reproduce the attack.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 29, 2026

SQL injection in FrontAccounting's Audit Trail report handler (reporting/rep710.php) lets authenticated users holding the SA_GLANALYTIC permission run arbitrary SQL through the PARAM_2 and PARAM_3 POST parameters in all releases prior to 2.4.20. Attackers can extract arbitrary database contents via UNION-based injection or knock the application offline by amplifying SLEEP() across JOINed result sets to exhaust database connections. Publicly available exploit code exists (VulnCheck/Jiva Security writeup), but the issue is not in CISA KEV, so it is no public exploit identified as actively exploited.

RemediationAI

Vendor-released patch: upgrade to FrontAccounting 2.4.20, which contains the fix (commit 647a18196caad27f96ea852e993c9e30f815357f; release notes at https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/). If immediate upgrade is not possible, revoke the SA_GLANALYTIC permission from any account that does not strictly require Audit Trail reporting (trade-off: those users lose access to GL analytics and audit reports), and restrict network access to the application - particularly the reporting/rep710.php endpoint - to trusted internal users via firewall or reverse-proxy ACLs (trade-off: may break legitimate remote reporting workflows). A WAF rule blocking SQL metacharacters in the PARAM_2/PARAM_3 POST fields can serve as a stopgap but is bypassable and must not replace the patch. Review the VulnCheck advisory (https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-reporting-rep710-php) for confirmation details.

Affected VersionsENISA

FrontAccounting 0 <2.4.20
FrontAccounting patch: 647a18196caad27f96ea852e993c9e30f815357f

Affected Packages

euvd frontaccounting fix: 2.4.20

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FrontAccounting is an open-source, web-based double-entry accounting/ERP system written in PHP with a MySQL/MariaDB backend. The flaw is a classic CWE-89 SQL Injection: user-controlled POST parameters (PARAM_2, PARAM_3) feeding the Audit Trail report (rep710.php) are concatenated into SQL without proper parameterization or escaping, so the query parser treats attacker input as executable code. Because the audit report joins multiple tables, a single injected time-delay function (SLEEP()) is evaluated once per row of the JOIN result set, multiplying its cost and turning a normally low-impact blind technique into a resource-exhaustion primitive. The affected CPE is cpe:2.3:a:frontaccounting:frontaccounting:*:*:*:*:*:*:*:* across all versions before 2.4.20.

Know when Frontaccounting gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Network-reachable report endpoint with low complexity, but requires an authenticated SA_GLANALYTIC account (PR:L); UNION data theft gives C:H and JOIN-amplified SLEEP() DoS gives A:H, with no integrity change (I:N).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FrontAccounting before 2.4.20 contains a SQL injection vulnerability in the Audit Trail report handler that allows authenticated attackers with SA_GLANALYTIC permission to execute arbitrary SQL queries by injecting malicious code into the PARAM_2 and PARAM_3 POST parameters. Attackers can exploit time-based blind SQL injection through SLEEP() functions that are amplified across JOIN result sets to cause denial of service by exhausting database connections, or extract arbitrary database content through UNION-based injection techniques.

Executive ViewAI

Why It Matters

FrontAccounting releases prior to version 2.4.20 contain a SQL injection vulnerability in the Audit Trail report module affecting users with SA_GLANALYTIC permission. Publicly available exploit code enables authenticated insiders to extract sensitive database records or disable the application through connection exhaustion, creating direct financial and operational risk without requiring administrator involvement.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche open-source ERP, limited SMB footprint, no large enterprise install base
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2019-5720 CRITICAL POC
9.8 Jan 08

includes/db/class.reflines_db.inc in FrontAccounting 2.4.6 contains a SQL Injection vulnerability in the reference field

CVE-2026-40521 HIGH POC
8.7 Jun 29

Remote code execution in FrontAccounting before 2.4.20 lets an authenticated user abuse the attachment upload handler to

CVE-2018-7176 HIGH POC
8.8 Feb 16

FrontAccounting 2.4.3 suffers from a CSRF flaw, which leads to adding a user account via admin/users.php (aka the "add u

CVE-2014-3973 HIGH POC
7.5 Jun 05

Multiple SQL injection vulnerabilities in FrontAccounting (FA) before 2.3.21 allow remote attackers to execute arbitrary

CVE-2018-1000890 HIGH POC
7.5 Dec 28

FrontAccounting 2.4.5 contains a Time Based Blind SQL Injection vulnerability in the parameter "filterType" in /attachme

CVE-2026-40524 HIGH POC
7.2 Jun 29

SQL injection in FrontAccounting's get_gl_transactions() function lets authenticated users holding the SA_GLANALYTIC per

CVE-2026-40522 HIGH POC
7.1 Jun 29

SQL injection in FrontAccounting before 2.4.20 allows authenticated attackers to extract arbitrary database contents by

CVE-2020-21244 MEDIUM POC
4.9 Sep 30

An issue was discovered in FrontAccounting 2.4.7. Rated medium severity (CVSS 4.9), this vulnerability is remotely explo

CVE-2026-80211 HIGH
8.2 Aug 27

Unsalted MD5 password hashing in FrontAccounting through 2.4.20 renders every stored credential recoverable in minutes i

CVE-2026-80210 HIGH
7.1 Aug 27

FrontAccounting 2.4.20 and earlier selectively enforces CSRF validation - tokens are generated for every rendered form b

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy