CVE-2018-1111 — FEDORA
HIGHCVE-2018-1111 is a high-severity (CVSS 7.5) CWE-77 vulnerability in fedoraproject fedora. 12 public exploit references exist, so weaponization risk is real. No vendor fix is recorded yet; mitigation options are listed below.
DHCP packages in Red Hat Enterprise Linux 6 and 7, Fedora 28, and earlier are vulnerable to a command injection flaw in the NetworkManager integration script included in the DHCP client.…
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2018-1111 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 397,508 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Description
DHCP packages in Red Hat Enterprise Linux 6 and 7, Fedora 28, and earlier are vulnerable to a command injection flaw in the NetworkManager integration script included in the DHCP client. A malicious DHCP server, or an attacker on the local network able to spoof DHCP responses, could use this flaw to execute arbitrary commands with root privileges on systems using NetworkManager and configured to obtain network configuration using the DHCP protocol.
Affected Products
fedorafedoraprojectenterprise linuxredhatenterprise linux desktopredhatenterprise linux serverredhatenterprise linux workstationredhatenterprise virtualizationredhatResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
DynoRoot DHCP Client - Command Injection
by Kevin Kirsche · May 18, 2018
DHCP Client - Command Injection 'DynoRoot' (Metasploit)
by Metasploit · Jun 13, 2018
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every fedoraproject fedora deployment and check each version against the affected-products list above.
Remediation status
No patch has shipped for CVE-2018-1111 yet — track the fedoraproject fedora advisory for a fixed release and apply the workarounds below in the meantime.
Mitigate without a patch
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat has been made aware of a vulnerability affecting the DHCP client packages as shipped with Red Hat Enterprise Linux 6 and 7. This vulnerability CVE-2018-1111 was rated as having a security impact of Critical. A malicious DHCP server, or an attacker on the local network able to spoof DHCP responses, could use…
Please access https://access.redhat.com/security/vulnerabilities/3442151 for information on how to mitigate this issue.Source: Red Hat security advisory for CVE-2018-1111 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 6 | dhcp-12:4.1.1-53.P1.el6_9.4 | RHSA-2018:1454 |
| Red Hat Enterprise Linux 6.4 Advanced Update Support | dhcp-12:4.1.1-34.P1.el6_4.2 | RHSA-2018:1461 |
| Red Hat Enterprise Linux 6.5 Advanced Update Support | dhcp-12:4.1.1-38.P1.el6_5.1 | RHSA-2018:1460 |
| Red Hat Enterprise Linux 6.6 Advanced Update Support | dhcp-12:4.1.1-43.P1.el6_6.2 | RHSA-2018:1459 |
| Red Hat Enterprise Linux 6.7 Extended Update Support | dhcp-12:4.1.1-49.P1.el6_7.1 | RHSA-2018:1458 |
| Red Hat Enterprise Linux 7 | dhcp-12:4.2.5-68.el7_5.1 | RHSA-2018:1453 |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | dhcp-12:4.2.5-42.el7_2.1 | RHSA-2018:1457 |
| Red Hat Enterprise Linux 7.3 Extended Update Support | dhcp-12:4.2.5-47.el7_3.1 | RHSA-2018:1456 |
Frequently Asked Questions
Is CVE-2018-1111 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.