Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with SA_GLANALYTIC permission
-
DeliveryOpen GL analytics report
-
ExploitInject closing paren plus SQL into filter_type
-
ExecutionTrigger boolean-based blind SQLi in IN() clause
-
PersistMeasure response-size differentials
-
ImpactExtract journal-entry data bit by bit
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 account holding the SA_GLANALYTIC permission and access to the general-ledger analytics report that invokes get_gl_transactions(); the attacker must control the filter_type parameter, which the code passes unparameterized into a SQL IN() clause. The concrete payload condition is supplying a closing parenthesis followed by injected SQL conditions to break out of the IN() set. Limiting factors: the SA_GLANALYTIC privilege requirement (PR:L) means fully unauthenticated exploitation is not possible, exploitation is blind/inferential (boolean-based, requiring many requests and reliable response-size differentials rather than direct data echo), and the target must be running a version before 2.4.20. |
| Impact | Signals are moderately consistent and point to a real but bounded risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates a network-reachable, low-complexity attack but requires existing low-level privileges (the SA_GLANALYTIC permission), which materially limits the attacker population to users who already have legitimate analytics access. A public POC (jivasecurity.com writeup) raises practical exploitability, but the vulnerability is not on CISA KEV and no EPSS score was provided, so widespread automated exploitation is not evidenced. One notable inconsistency: the provided CVSS 4.0 vector asserts VA:H (high availability impact), yet the description characterizes a read-only boolean-based blind data-extraction technique with no destructive or DoS behavior - verify the availability rating with the vendor, as a confidentiality-dominant scoring (VC:H, VA:N) appears more faithful to the described impact. Net priority: elevated for any deployment exposing the GL analytics module to semi-trusted users, lower where SA_GLANALYTIC is tightly restricted. |
| Exploit ScenarioDerived | An attacker who has been granted (or has compromised an account with) the SA_GLANALYTIC permission opens the general-ledger analytics report and submits a crafted filter_type value such as a closing parenthesis followed by an injected OR/AND condition. Because the input is concatenated into the IN() clause, the application returns measurably different response sizes for true versus false conditions, letting the attacker iteratively extract journal entries and other database contents bit by bit. A public POC writeup (jivasecurity.com) demonstrates the boolean-based blind technique end to end. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
SQL injection in FrontAccounting's get_gl_transactions() function lets authenticated users holding the SA_GLANALYTIC permission read arbitrary database contents by injecting into the unparameterized filter_type parameter of a SQL IN() clause. The flaw enables boolean-based blind extraction of sensitive journal-entry and general-ledger data using reliable response-size differentials. Publicly available exploit code exists and a vendor patch shipped in 2.4.20, though there is no public exploit identified as actively exploited.
RemediationAI
Vendor-released patch: upgrade to FrontAccounting 2.4.20 or later, which parameterizes the filter_type input; the corresponding code change is the upstream commit at https://github.com/FrontAccountingERP/FA/commit/647a18196caad27f96ea852e993c9e30f815357f and the release notes are at https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/. If immediate patching is not possible, the most effective compensating control is to revoke the SA_GLANALYTIC permission from all but fully trusted administrators, which prevents access to the vulnerable GL analytics report at the cost of disabling general-ledger analytics for those users. Additionally, restrict network access to the FrontAccounting instance (VPN/IP allowlist) and place a WAF rule in front of the GL transactions/analytics endpoint to block IN()-breakout payloads containing stray parentheses or SQL keywords in filter_type, accepting that WAF signatures can be bypassed and may cause false positives on legitimate filter values.
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, PHP/MySQL double-entry accounting and ERP web application. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the get_gl_transactions() routine concatenates the attacker-controlled filter_type value directly into the SQL IN(...) list rather than binding it as a parameter. By supplying a closing parenthesis followed by additional SQL, an attacker breaks out of the IN() set and appends arbitrary boolean conditions, turning the general-ledger analytics query into a blind SQLi oracle. The CPE cpe:2.3:a:frontaccounting:frontaccounting:*:*:*:*:*:*:*:* confirms the FrontAccounting application itself is the affected product across versions prior to 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
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
Network-reachable with low complexity but needs the SA_GLANALYTIC privilege (PR:L); read-only blind data extraction yields C:H with no integrity or availability impact, contrary to the input's VA:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FrontAccounting before 2.4.20 contains a SQL injection vulnerability in the get_gl_transactions() function where the filter_type parameter is concatenated directly into a SQL IN() clause without parameterization. Attackers with SA_GLANALYTIC permission can inject arbitrary SQL by supplying a closing parenthesis followed by malicious conditions to extract sensitive journal entry data through boolean-based blind SQL injection with reliable response size differentials.
Executive ViewAI
FrontAccounting versions prior to 2.4.20 contain a SQL injection vulnerability (CVE-2026-40524, CVSS 7.2) in the general ledger analysis function that allows authenticated users with specific database permissions to extract sensitive financial data. Publicly available exploit code exists. Organizations face direct risk of unauthorized access to confidential transactional and journal records, requiring immediate patching to eliminate this attack surface.
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 Audit Trail report handler (reporting/rep710.php) lets authenticated users holding th
SQL injection in FrontAccounting before 2.4.20 allows authenticated attackers to extract arbitrary database contents by
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-40079
GHSA-w5j4-x499-pfwp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB