Medium

Froxlor DomainZones.add allows DNS zone-file RR injection via record/type fields

  • Disclosed: 18.08.2026
  • Updated: 11.10.2026 10:22

Froxlor's DomainZones.add API command accepts user-controlled DNS record and type values and later writes them into generated BIND zone files without rejecting line delimiters, tab characters, or zone-file comment delimiters.

The stronger variant is in record. An authenticated customer with DNS-zone permissions can submit a normal A record request where record is:

www\t60\tIN\tA\t6.6.6.6 ;\n@

with type=A and content=127.0.0.1. The current record flow trims/lower-cases/IDNA-encodes the value, but does not reject CR/LF/HTAB or semicolon. The real Froxlor\Dns\DnsEntry::__toString() sink renders it as:

www 60 in a 6.6.6.6 ; @ 18000 IN A 127.0.0.1

BIND accepts the generated zone file:

named-checkzone example.com froxlor_dns_record_injected.zone zone example.com/IN: loaded serial 2026060501 OK

named-compilezone -D confirms both records are parsed as real DNS RRs:

example.com. 18000 IN A 127.0.0.1 www.example.com. 60 IN A 6.6.6.6 zone example.com/IN: loaded serial 2026060501 OK

Affected code in 2.3.7:

  • lib/Froxlor/Api/Commands/DomainZones.php:92-93 reads record/type from API params.
  • lib/Froxlor/Api/Commands/DomainZones.php:122-136 trims/lower-cases/IDNA-encodes record without control-character rejection.
  • lib/Froxlor/Api/Commands/DomainZones.php:157-160 hardens content only.
  • lib/Froxlor/Api/Commands/DomainZones.php:314-321 and 347-357 store record/type/content into domain_dns_entries.
  • lib/Froxlor/Dns/Dns.php:297 passes stored values to DnsEntry.
  • lib/Froxlor/Dns/DnsEntry.php:83 concatenates record/type/content into a zone-file line.

There is also a related type-field variant because type is not allowlisted and domain_dns_entries.type is varchar(10). The value NS\tns.\n@\tA renders one submitted entry as multiple zone-file records.

Impact: authenticated customer with DNS-zone permissions can inject additional BIND resource-record lines into the generated zone file for a domain they can manage in Froxlor, bypassing Froxlor's DNS field-level validation. This is DNS zone integrity loss and possible DNS availability impact inside the caller's manageable zone.

Suggested remediation: allowlist DNS RR types, reject CR/LF/HTAB/control chars/spaces/semicolon in record and type, validate record as a DNS owner name while allowing intended cases such as @, *, *.label, _service._proto, _dmarc, and DKIM selectors. Add defense-in-depth in DnsEntry or the DNS serializer so CR/LF cannot reach generated zone lines.

Attribution: Yaohui Wang.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package froxlor/froxlor < 2.3.8 2.3.8

References

CVSS score 5.4/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Weakness (CWE)
CWE-20, CWE-74
Platform
Composer
Package
froxlor/froxlor
Disclosed
18.08.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-5rw4-4665-cvwf - CC BY 4.0

Vulnerability history: froxlor/froxlor

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (60) in the archive
Total entries
60
First → latest
04.2022 08.2026
Without a fix
3
Exploited in attacks
0

Severity breakdown

  • Critical 12
  • High 21
  • Medium 26
  • Low 1

Disclosures per year

  1. 2022: 15
  2. 2023: 20
  3. 2024: 3
  4. 2025: 2
  5. 2026: 20
Severity:
  1. Froxlor DomainZones.add allows DNS zone-file RR injection via record/type fields this entry
    Medium · 5.4 CVE-2026-54543 < 2.3.8 2.3.8
  2. High · 8.1 CVE-2026-52793 < 2.3.7 2.3.7
  3. High · 7.6 CVE-2026-41234 < 2.3.7 2.3.7
  4. High CVE-2026-41237 < 2.3.7 2.3.7
  5. Critical · 9.6 CVE-2024-34070 < 2.1.9 2.1.9
  6. High · 7.5 CVE-2023-50256 < 2.1.2 2.1.2
  7. Critical · 9.9 CVE-2023-6069 < 2.1.0-beta1 2.1.0-beta1
  8. Critical · 9.1 CVE-2023-3668 < 2.0.21 2.0.21
  9. High · 7.2 CVE-2023-3172 < 2.0.20 2.0.20
  10. Critical · 9.8 CVE-2023-1307 < 2.0.13 2.0.13
  11. High · 8.8 CVE-2023-1033 < 2.0.11 2.0.11
  12. High · 8.8 CVE-2023-0877 < 2.0.11 2.0.11
  13. High · 7.5 CVE-2023-0564 < 2.0.10 2.0.10
  14. High · 8.8 CVE-2023-0315 < 2.0.8 2.0.8
  15. Critical · 9.8 CVE-2021-42325 < 0.10.30 0.10.30
  16. Critical · 9.8 CVE-2016-5100 < 0.9.35 0.9.35
  17. High · 7.5 CVE-2018-12642 < 0.9.40 0.9.40
  18. High · 7.2 CVE-2018-1000527 < 0.9.40 0.9.40

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.