Skip to main content

FrontAccounting CVE-2026-40524

| EUVDEUVD-2026-40079 HIGH
SQL Injection (CWE-89)
2026-06-29 VulnCheck GHSA-w5j4-x499-pfwp
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 permission
  2. Delivery
    Open GL analytics report
  3. Exploit
    Inject closing paren plus SQL into filter_type
  4. Execution
    Trigger boolean-based blind SQLi in IN() clause
  5. Persist
    Measure response-size differentials
  6. Impact
    Extract 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.

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 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

FrontAccounting patch: 647a18196caad27f96ea852e993c9e30f815357f
FrontAccounting 0 <2.4.20

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, 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

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 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/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 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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche open-source SMB accounting/ERP, limited enterprise footprint
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.

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-40523 HIGH POC
7.2 Jun 29

SQL injection in FrontAccounting's Audit Trail report handler (reporting/rep710.php) lets authenticated users holding th

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