Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with low-privilege account
-
DeliveryOpen attachment upload feature
-
ExploitSet unique_name to ../../../shell.php
-
InstallSubmit PHP payload past extension check
-
C2File written into web root
-
ExecuteRequest shell URL
-
ImpactExecute commands as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection 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 session - the CVSS vector specifies PR:L, so a valid low-privileged FrontAccounting account is needed - plus access to the attachment upload functionality. The concrete prerequisite from the description is the ability to control the unique_name parameter in the attachment upload handler and supply path-traversal sequences (e.g. ../../../shell.php); success also depends on the attachments/web-root path being writable by the web server and PHP execution being enabled where the file lands (the default deployment serves PHP from the web root). Limiting factors: an account is required (no unauthenticated path), the application/upload endpoint must be network-reachable, and the target must run a vulnerable version prior to 2.4.20 with no web-server-level block on PHP execution in upload paths. |
| Impact | Signals are largely consistent and point to a genuine, high-priority issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VC:H/VI:H/VA:H and a base score of 8.7 indicates network-reachable exploitation, low complexity, no user interaction, and full impact to confidentiality, integrity, and availability of the vulnerable system - gated only by low-privilege authentication (PR:L). A public proof-of-concept/write-up (JivaSecurity) plus VulnCheck reporting raises real-world likelihood beyond the raw score. No EPSS score and no SSVC decision values were supplied, and the CVE is not in CISA KEV, so there is no confirmation of active exploitation - the practical limiter is that a valid (even low-privileged) application account is required, making opportunistic mass exploitation harder than for a fully unauthenticated bug. Net assessment: treat as a real priority for any internet-exposed FrontAccounting instance, especially given working exploit code and an available patch. |
| Exploit ScenarioDerived | An attacker with a low-privileged FrontAccounting login navigates to a feature that uploads an attachment and intercepts the request, setting the unique_name parameter to something like ../../../shell.php with PHP web-shell content as the body. Because the path is not sanitized and the extension is not checked, the file is written into the web root and can then be requested directly to run arbitrary commands as the web server user. A public write-up/PoC (JivaSecurity) demonstrates the full chain, and the low attack complexity (AC:L, no user interaction) makes reliable exploitation straightforward once authenticated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
Remote code execution in FrontAccounting before 2.4.20 lets an authenticated user abuse the attachment upload handler to plant a PHP web shell. The handler fails to validate the unique_name parameter, so traversal sequences write attacker-controlled files outside the attachments directory and into the web root, and because file extensions are not validated, an uploaded PHP file executes as the web server user. Publicly available exploit code exists and a vendor patch is available, though the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to FrontAccounting 2.4.20, which addresses the traversal and missing extension validation in the attachment upload handler (release notes: https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/; fix commit: https://github.com/FrontAccountingERP/FA/commit/701fea6848da4a02fb83d30f07a9c0473d6b7e33). If you cannot upgrade immediately, apply specific compensating controls: restrict access to the attachment upload endpoints to trusted users only and place the whole application behind authentication/VPN to reduce the pool of attackers who can submit uploads; configure the web server to deny PHP execution within the attachments/upload directory (for example an Apache 'php_admin_flag engine off' or removing the PHP handler for that path, or an equivalent nginx location block) so a planted .php file cannot run - note this does not stop the traversal write itself, only execution at the intended location, so it can be bypassed if files land elsewhere in the web root; and add a WAF/proxy rule rejecting requests whose parameters contain '../' or encoded traversal sequences, accepting that aggressive filtering can break legitimate filenames. The durable fix remains upgrading to 2.4.20.
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 double-entry accounting/ERP application written in PHP (CPE cpe:2.3:a:frontaccounting:frontaccounting). The flaw is a classic CWE-22 Improper Limitation of a Pathname to a Restricted Directory (path traversal): the file attachment feature builds the destination path from a client-supplied unique_name value without canonicalizing or constraining it, so '../' sequences let the saved file escape the intended attachments folder. Combined with the absence of server-side extension/content-type validation, an attacker can write executable .php content into a web-accessible directory, turning a file-write primitive into code execution under the PHP/web server process context.
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:H/VA:H/SC:N/SI:N/SA:N
Network-reachable upload, low complexity, but a low-privileged authenticated account is required (PR:L); web-shell write yields full host compromise so C/I/A all High; scope unchanged as impact is to the vulnerable system.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FrontAccounting before 2.4.20 contains a path traversal vulnerability in the attachment upload handler that allows authenticated attackers to execute arbitrary code by uploading files with traversal sequences in the unique_name parameter. Attackers can supply path traversal sequences ../../../shell.php to write files outside the intended attachments directory into the web root, and by uploading PHP files without extension validation, achieve remote code execution as the web server user.
Executive ViewAI
FrontAccounting versions before 2.4.20 contain a remote code execution vulnerability allowing authenticated users to upload PHP files that execute on the web server, enabling attackers with valid credentials to gain full system control and access sensitive financial data. This poses significant risk to organizations processing transactions through affected versions.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Frontaccounting
View allincludes/db/class.reflines_db.inc in FrontAccounting 2.4.6 contains a SQL Injection vulnerability in the reference field
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
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-40083
GHSA-9fmm-h59x-wr53
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB