Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-30932 — froxlor

🟠 CVSS 8.8 — High ⚠️ Exploit Public CWE-74 NVD
8.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Froxlor is vulnerable to BIND zone file injection via unsanitized DNS record content in DomainZones API

Summary

The DomainZones.add API endpoint (accessible to customers with DNS enabled) does not validate the content field for several DNS record types (LOC, RP, SSHFP, TLSA). An attacker can inject newlines and BIND zone file directives (e.g. $INCLUDE) into the zone file that gets written to disk when the DNS rebuild cron job runs.

Affected Code

lib/Froxlor/Api/Commands/DomainZones.php, lines 213-214, 253-254, 290-291, 292-293:

```php

} elseif ($type == 'LOC' && !empty($content)) {

$content = $content; // no validation

} ...

} elseif ($type == 'RP' && !empty($content)) {

$content = $content; // no validation

} ...

} elseif ($type == 'SSHFP' && !empty($content)) {

$content = $content; // no validation

} elseif ($type == 'TLSA' && !empty($content)) {

$content = $content; // no validation

}

```

There is even a TODO comment at line 148 acknowledging this gap:

```php

// TODO regex validate content for invalid characters

```

The content is then written directly into the BIND zone file via DnsEntry::__toString() (line 83 of lib/Froxlor/Dns/DnsEntry.php):

```php

return $this->record . "\t" . $this->ttl . "\t" . $this->class . "\t" . $this->type . "\t" ... . $_content . PHP_EOL;

```

And the zone file is written to disk in lib/Froxlor/Cron/Dns/Bind.php line 121:

```php

fwrite($zonefile_handler, $zoneContent . $subzones);

```

PoC

As a customer with DNS management enabled and an API key, add a LOC record with injected BIND directives:

```bash

curl -s -u "API_KEY:API_SECRET" \

-H 'Content-Type: application/json' \

-d '{"command":"DomainZones.add","params":{"domainname":"example.com","type":"LOC","content":"0 0 0 N 0 0 0 E 0\n$INCLUDE /etc/passwd"}}' \

https://panel.example.com/api.php

```

Alternatively via the web UI, intercept the DNS editor form POST and set dns_content to 0 0 0 N 0 0 0 E 0\n$INCLUDE /etc/passwd and dns_type to LOC.

After the DNS rebuild cron runs, the resulting zone file at {bindconf_directory}/domains/example.com.zone will contain:

```

@ 18000 IN LOC 0 0 0 N 0 0 0 E 0

$INCLUDE /etc/passwd

```

BIND will process the $INCLUDE directive and attempt to parse /etc/passwd as zone data. While most lines will fail to parse as valid records, the file content is readable by the BIND process (running as bind/named user), confirming file existence and potentially leaking parseable lines as DNS records.

Impact

1. Information Disclosure: The $INCLUDE directive lets a customer read world-readable files on the server through the DNS subsystem. The zone content (including included files) is visible to the customer via the DomainZones.get API call or the DNS editor in the web UI.

2. DNS Service Disruption: Malformed zone content can cause BIND to fail to load the zone, causing DNS outage for the affected domain. Injecting $GENERATE directives could create massive record sets for amplification attacks.

3. Zone Data Manipulation: Arbitrary DNS records can be injected by breaking out of the current record line with newlines, allowing the customer to create records that were not intended.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2026-30932 is classified as CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or…

Affected software

CVE-2026-30932 is recorded against 2 packages.

  • froxlor (fixed in 2.3.5)
  • froxlor/froxlor (fixed in 2.3.5)

Timeline and source

Published on 24 March 2026 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com
github.com
github.com

Other advisories for this package

froxlor has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) in other software:

Details

Severity HIGH
CVSS Score 8.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-74
Public Exploit ⚠️ Yes
Source NVD
Published 2026-03-24
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
froxlor 2.3.5
froxlor/froxlor 2.3.5

Similar Threats

Exploit Protection

Are you running froxlor?

CVE-2026-30932 carries CVSS 8.8 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2026-30932 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026