Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials/session
-
DeliveryAccess config-update admin endpoint
-
ExploitSubmit config value with single-quote PHP payload
-
ExecutionPayload written unescaped to config.php
-
Persistconfig.php include executes code each request
-
ImpactPersistent RCE on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated FOSSBilling administrator account (CVSS PR:H) with access to the configuration-update functionality that invokes Config::prettyPrintArrayToPHP(); the injected string must be routed through a config value that gets written to config.php, and config.php must be loaded via its normal bare include (default behavior). Limiting factors: exploitation is impossible for anonymous or low-privileged users, so an attacker must first obtain admin rights, and only versions 0.6.10-0.7.2 are vulnerable (0.8.0+ is fixed). No end-user interaction is needed (UI:N), and it works remotely over the network (AV:N), but the admin-privilege barrier is the core constraint on realistic exploitation. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:N, VC/VI/VA:H, SC/SI/SA:H) drives the 8.9 score, but the decisive limiter is PR:H - exploitation requires an authenticated administrator, so this is a privilege-escalation / persistence primitive rather than an unauthenticated internet-facing RCE. AT:P further signals a required precondition (the config-update workflow). No EPSS score, KEV listing, or public POC was provided, so there is no evidence of active or automatable mass exploitation; the realistic threat model is a malicious or compromised admin, or an admin session hijacked via another bug (CSRF/XSS/credential theft) that then chains into durable server compromise. Net: a genuine high-severity issue for multi-admin or shared-hosting deployments, but not a drop-everything internet-worm scenario given the admin prerequisite. Note the input carries only a CVSS 4.0 vector - no 3.1 vector was supplied - so cross-framework comparison relies on this analyst's independent assessment. |
| Exploit ScenarioDerived | An attacker who has obtained FOSSBilling administrator access - via stolen credentials, an insider, or a hijacked admin session - updates a configuration string value containing a single quote followed by PHP code (e.g., a webshell). prettyPrintArrayToPHP() writes it verbatim into config.php, and because that file is include-d on every request, the payload executes server-side on the very next page load, giving persistent code execution. No public POC was provided, but the technique is straightforward for anyone with admin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
Authenticated remote code execution in FOSSBilling 0.6.10 through 0.7.2 lets an admin-privileged user inject arbitrary PHP into config.php via the Config::prettyPrintArrayToPHP() method, which fails to escape single quotes in string configuration values. Because config.php is pulled in through a bare include on every HTTP request, injected code runs persistently on all subsequent requests. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; the CVSS 4.0 base score is 8.9, elevated by the persistent, server-wide impact once an admin account is abused.
RemediationAI
Vendor-released patch: upgrade to FOSSBilling 0.8.0, which corrects the escaping in Config::prettyPrintArrayToPHP(); this is the primary and complete fix. Where immediate upgrade is not possible, the vendor-suggested compensating controls are: restrict administrative access strictly to trusted personnel (reduces the pool of accounts that can trigger the injection, but does not stop an already-compromised admin session); audit config.php for unexpected or non-standard PHP code as a detection measure (finds prior exploitation but does not prevent it); and at the reverse proxy or WAF layer, block or tightly restrict access to the admin API endpoints that modify configuration (effective if those endpoints are not needed from untrusted networks, but may break legitimate configuration changes if scoped too broadly). Refer to advisory GHSA-v4j9-w6pj-38w5 for authoritative guidance.
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
The affected component is FOSSBilling, a PHP-based open-source billing and client-management platform (cpe:2.3:a:fossbilling:fossbilling). The root cause is CWE-94 (Improper Control of Generation of Code / Code Injection): when configuration is saved, prettyPrintArrayToPHP() serializes PHP array values back into a source file (config.php) by wrapping strings in single quotes but never escaping embedded single quotes or PHP syntax. Since config.php is executed by the interpreter via a plain include on each request rather than being parsed as inert data (e.g., JSON), any value that breaks out of the single-quoted string literal is treated as live PHP code, turning a data-write into arbitrary code execution.
Know when Fossbilling 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:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable admin action with no user interaction (AV:N/AC:L/UI:N) but requires administrator privileges (PR:H); yields full RCE within the app process, so C/I/A:H and scope unchanged (S:U).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
FOSSBilling is a free, open-source billing and client management system. Versions 0.6.10 through 0.7.2 have a PHP code injection vulnerability in FOSSBilling's Config::prettyPrintArrayToPHP() method. When configuration values are updated, string values are written into config.php without escaping single quotes. Because config.php is loaded via a bare include on every HTTP request, an attacker with admin privileges can inject arbitrary PHP code that executes on every subsequent request. Version 0.8.0 contains a patch. Some workarounds are available. Restrict admin access to trusted personnel only; audit config.php for unexpected PHP code; and/ or at the reverse proxy/WAF level, restrict access to admin API endpoints that modify configuration.
Articles & Coverage 1
Executive ViewAI
FOSSBilling versions 0.6.10 through 0.7.2 contain a code injection vulnerability allowing administrator-privileged users to inject arbitrary PHP code into system configuration, resulting in persistent malicious code execution on every HTTP request. Compromise of any administrator account provides attackers complete and permanent control over the billing infrastructure, customer data, and payment processing. Organizations running these versions must immediately audit administrator access and restrict account privileges.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Reduce administrator account count to absolute minimum; (2) enforce multi-factor authentication on all administrative accounts; (3) implement file integrity monitoring on config.php with alerts on any modifications; (4) enable comprehensive application logging to detect suspicious configuration access patterns; (5) restrict FOSSBilling network access to internal networks only; (6) maintain isolated daily configuration backups enabling rapid rollback.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Fossbilling
View allAuthorization bypass in FOSSBilling versions 0.5.4 through 0.7.x allows unauthenticated remote attackers to invoke privi
SQL Injection in GitHub repository fossbilling/fossbilling prior to 0.5.3. Rated critical severity (CVSS 9.8), this vuln
Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb
Unrestricted Upload of File with Dangerous Type in GitHub repository fossbilling/fossbilling prior to 0.5.3. Rated high
Missing Authorization in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated high severity (CVSS 7.5), this
Code Injection in GitHub repository fossbilling/fossbilling prior to 0.5.1. Rated high severity (CVSS 7.2), this vulnera
Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium severity (CVSS 6.5), thi
Cross-site Scripting (XSS) - Reflected in GitHub repository fossbilling/fossbilling prior to 0.5.4. Rated medium severit
Insufficient Session Expiration in GitHub repository fossbilling/fossbilling prior to 0.5.5. Rated critical severity (CV
Business Logic Errors in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium severity (CVSS 5.7), thi
Insufficient Granularity of Access Control in GitHub repository fossbilling/fossbilling prior to 0.5.0. Rated medium sev
Session Fixation in GitHub repository fossbilling/fossbilling prior to 0.5.1. Rated medium severity (CVSS 5.4), this vul
EUVD-2026-41961
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB