Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege account
-
DeliveryOpen Bank Statement report
-
ExploitInject UNION SELECT into PARAM_0
-
ExecutionSQL executes via unparameterized WHERE
-
PersistUsers table data rendered into PDF
-
ImpactExfiltrate hashes and emails
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 with access to the Bank Statement report feature (the rep601.php handler) - the CVSS PR:L confirms a valid low-privilege account is needed, so this is not anonymously exploitable. The concrete prerequisite is the ability to submit the PARAM_0 POST parameter to the Bank Statement report handler on a FrontAccounting instance older than 2.4.20; the injection is delivered through the unparameterized WHERE clause and results are returned via the rendered PDF report output. Limiting factors: the attacker must hold credentials and the report-access permission, the target must run a version prior to 2.4.20, and the network endpoint must be reachable (no user interaction is required, AC is low). No special non-default configuration is otherwise needed - any standard deployment with an accessible report function is vulnerable. |
| Impact | Signals are largely consistent and point to a genuine but access-gated risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates network-reachable, low-complexity exploitation requiring low privileges and no user interaction, with high confidentiality impact (VC:H) and only limited integrity/availability impact (VI:L/VA:N), yielding a base score of 7.1 (High). The defining constraint is PR:L - the attacker must already hold a valid, low-privilege FrontAccounting account, which sharply narrows the threat to insiders or attackers who have obtained credentials, rather than fully anonymous internet exploitation. Publicly available exploit code (the Jiva Security writeup) lowers the skill barrier and raises near-term exploitation likelihood, but the absence of CISA KEV listing means there is no confirmation of active exploitation in the wild. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here. Net: a real priority to patch for any organization running FrontAccounting with multiple users, but the authentication requirement and the product's modest deployment footprint temper mass-exploitation concerns. |
| Exploit ScenarioDerived | An attacker with a low-privilege FrontAccounting account (or stolen credentials) navigates to the Bank Statement report, then submits a crafted POST request injecting a UNION SELECT payload into the PARAM_0 parameter. The injected query pulls usernames, password hashes, and email addresses from the users table, which are rendered into the generated PDF report and read back by the attacker. A public exploit/writeup (Jiva Security) demonstrates this, lowering the effort required given the low attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
SQL injection in FrontAccounting before 2.4.20 allows authenticated attackers to extract arbitrary database contents by injecting UNION SELECT payloads into the PARAM_0 POST parameter of the Bank Statement report handler (rep601.php). Attackers with valid low-privilege accounts can dump usernames, password hashes, and email addresses from the users table, with results rendered into the generated PDF report. Publicly available exploit code exists and a vendor patch was released in 2.4.20; the flaw is not listed in CISA KEV and no active exploitation is confirmed.
RemediationAI
Upgrade to FrontAccounting 2.4.20 or later, which contains the fix (Vendor-released patch: 2.4.20; release notes at https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/ and source commit https://github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd2464050f590). If immediate upgrading is not possible, apply the upstream commit to rep601.php to parameterize the PARAM_0 input as the most targeted control. As compensating measures until patched, restrict access to the Bank Statement report function by removing the relevant report/security role from all but trusted accounting users (trade-off: legitimate users lose that report), and place the FrontAccounting instance behind network restrictions or a WAF rule that blocks UNION/SQL metacharacters in the PARAM_0 POST parameter (trade-off: WAF rules can be bypassed and may false-positive on legitimate report parameters). Additionally, rotate any potentially exposed credentials and ensure stored password hashes use a strong algorithm, since the users table is a confirmed exfiltration target. Vendor/third-party references: VulnCheck advisory https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-php.
Affected VersionsENISA
Affected Packages
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 ERP/accounting application written in PHP that uses a MySQL/MariaDB backend. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the Bank Statement report handler (rep601.php) builds a SQL WHERE clause by concatenating the user-supplied PARAM_0 value without parameterization or escaping, so attacker-controlled syntax is executed directly by the database. Because the report renders query output into a PDF, the unparameterized clause becomes an in-band/UNION-based exfiltration channel - UNION SELECT payloads append attacker-chosen columns (e.g., from the users table) to the legitimate result set, which are then printed in the report output. The affected component is identified in the CPE cpe:2.3:a:frontaccounting:frontaccounting:*:*:*:*:*:*:*:* covering all versions prior to the 2.4.20 fix.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable report endpoint with low complexity but requires an authenticated low-privilege account (PR:L); high confidentiality from full DB read, limited integrity, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FrontAccounting before 2.4.20 contains a SQL injection vulnerability in the Bank Statement report handler that allows authenticated attackers to extract arbitrary database data by injecting UNION SELECT payloads into the PARAM_0 POST parameter. Attackers can supply malicious SQL syntax through the unparameterized WHERE clause to retrieve sensitive information including usernames, password hashes, and email addresses from the users table, rendered into PDF report output.
Executive ViewAI
FrontAccounting versions before 2.4.20 contain a SQL injection vulnerability allowing authenticated attackers to extract sensitive database contents including usernames, password hashes, and email addresses through the Bank Statement report handler. Organizations using affected versions face credential compromise and data breach risk from low-privilege user accounts with valid login access.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Frontaccounting
View allincludes/db/class.reflines_db.inc in FrontAccounting 2.4.6 contains a SQL Injection vulnerability in the reference field
Remote code execution in FrontAccounting before 2.4.20 lets an authenticated user abuse the attachment upload handler to
FrontAccounting 2.4.3 suffers from a CSRF flaw, which leads to adding a user account via admin/users.php (aka the "add u
Multiple SQL injection vulnerabilities in FrontAccounting (FA) before 2.3.21 allow remote attackers to execute arbitrary
FrontAccounting 2.4.5 contains a Time Based Blind SQL Injection vulnerability in the parameter "filterType" in /attachme
SQL injection in FrontAccounting's get_gl_transactions() function lets authenticated users holding the SA_GLANALYTIC per
SQL injection in FrontAccounting's Audit Trail report handler (reporting/rep710.php) lets authenticated users holding th
An issue was discovered in FrontAccounting 2.4.7. Rated medium severity (CVSS 4.9), this vulnerability is remotely explo
Unsalted MD5 password hashing in FrontAccounting through 2.4.20 renders every stored credential recoverable in minutes i
FrontAccounting 2.4.20 and earlier selectively enforces CSRF validation - tokens are generated for every rendered form b
EUVD-2026-40081
GHSA-53v3-ffpm-f9hw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB