FreeBSD
Remote code execution via malicious DHCP options
The BOOTP file field is written to the lease file without escaping embedded double-quotes, allowing injection of arbitrary dhclient.conf directives. When the lease file is subsequently re-parsed by dhclient, e.g., after a system restart, an attacker-controlled field from the lease is passed to dhclient-script(8), which evaluates it. A rogue DHCP server may be able to execute arbirary code as root on a system running dhclient.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CISA ADP · CWE-149
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
FreeBSD FreeBSD
- >= 15.0-RELEASE, < p7
- >= 14.4-RELEASE, < p3
- >= 14.3-RELEASE, < p12
- >= 13.5-RELEASE, < p13
Fixed in p7, p3, p12, p13
Mitigation
Upgrade FreeBSD to p7 or p3 or p12 or p13 or later.
References
- Vendor advisory security.freebsd.org/advisories/FreeBSD-SA-26:12.dhclien…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.