cve.bz

CVE-2018-1111 (DynoRoot) OS Command Injection

7.5 highExploitEPSS 98%

Known as DynoRoot

High (7.5). EPSS 98% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
98% (unchanged from 98% a week ago; 98% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-77 Improper Neutralization of Special Elements used in a Command
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1111 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1111?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1111?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1111 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fedoraproject:fedora26
fedoraproject:fedora27
fedoraproject:fedora28
redhat:enterprise_virtualization4.0
redhat:enterprise_virtualization4.2
redhat:enterprise_virtualization_host4.0
redhat:enterprise_linux6.0
redhat:enterprise_linux6.4
redhat:enterprise_linux6.5
redhat:enterprise_linux6.6
redhat:enterprise_linux6.7
redhat:enterprise_linux7.0
redhat:enterprise_linux7.2
redhat:enterprise_linux7.3
redhat:enterprise_linux7.4
redhat:enterprise_linux7.5
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moredhcp, dhclient, dhcp-devel and 2 more12:4.1.1-53.P1.el6_9.4RHSA-2018:1454
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moredhcp, dhclient, dhcp-libs and 3 more12:4.2.5-68.el7_5.1RHSA-2018:1453
Red Hatenterprise_linux:7::hypervisorimgbased, python-imgbased0:1.0.16-0.1.el7evRHSA-2018:1524
Red Hatenterprise_linux:7::hypervisorovirt-node-ng, ovirt-node-ng-nodectl0:4.2.0-0.20170814.0.el7RHSA-2018:1524
Red Hatenterprise_linux:7::hypervisorredhat-release-virtualization-host, redhat-virtualization-host-image-update-placeholder0:4.2-3.0.el7RHSA-2018:1524
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.2-20180508.0.el7_5RHSA-2018:1524
Red Hatenterprise_linux:7::hypervisorrhvm-appliance2:4.2-20180504.0.el7RHSA-2018:1525
Red Hatrhel_aus:6.4::serverdhcp, dhclient, dhcp-devel and 2 more12:4.1.1-34.P1.el6_4.2RHSA-2018:1461
Red Hatrhel_aus:6.5::serverdhcp, dhclient, dhcp-devel and 2 more12:4.1.1-38.P1.el6_5.1RHSA-2018:1460
Red Hatrhel_aus:6.6::server, rhel_tus:6.6::serverdhcp, dhclient, dhcp-devel and 2 more12:4.1.1-43.P1.el6_6.2RHSA-2018:1459
Red Hatrhel_aus:7.2::server, rhel_e4s:7.2::server, rhel_tus:7.2::serverdhcp, dhclient, dhcp-libs and 3 more12:4.2.5-42.el7_2.1RHSA-2018:1457
Red Hatrhel_eus:6.7::computenode, rhel_eus:6.7::serverdhcp, dhclient, dhcp-devel and 2 more12:4.1.1-49.P1.el6_7.1RHSA-2018:1458
2 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

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 this flaw to execute arbitrary commands with root privileges on systems using NetworkManager and configured to obtain network configuration using the DHCP protocol.

Red Hat Enterprise Virtualization 4.1 includes the vulnerable components, but the default configuration is not impacted because NetworkManager is turned off in the Management Appliance, and not used in conjunction with DHCP in the Hypervisor. Customers can still obtain the updated packages from Red Hat Enterprise Linux channels using `yum update`, or upgrade to Red Hat Enterprise Virtualization 4.2, which includes the fixed packages.

Red Hat Enterprise Virtualization 3.6 is not vulnerable as it does not use DHCP.

Red Hat's mitigation

Please access https://access.redhat.com/security/vulnerabilities/3442151 for information on how to mitigate this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6dhcp-12:4.1.1-53.P1.el6_9.4Fixed 2018-05-15RHSA-2018:1454
Red Hat Enterprise Linux 6.4 Advanced Update Supportdhcp-12:4.1.1-34.P1.el6_4.2Fixed 2018-05-15RHSA-2018:1461
Red Hat Enterprise Linux 6.5 Advanced Update Supportdhcp-12:4.1.1-38.P1.el6_5.1Fixed 2018-05-15RHSA-2018:1460
Red Hat Enterprise Linux 6.6 Advanced Update Supportdhcp-12:4.1.1-43.P1.el6_6.2Fixed 2018-05-15RHSA-2018:1459
Red Hat Enterprise Linux 6.6 Telco Extended Update Supportdhcp-12:4.1.1-43.P1.el6_6.2Fixed 2018-05-15RHSA-2018:1459
Red Hat Enterprise Linux 6.7 Extended Update Supportdhcp-12:4.1.1-49.P1.el6_7.1Fixed 2018-05-15RHSA-2018:1458
Red Hat Enterprise Linux 7dhcp-12:4.2.5-68.el7_5.1Fixed 2018-05-15RHSA-2018:1453
Red Hat Enterprise Linux 7.2 Advanced Update Supportdhcp-12:4.2.5-42.el7_2.1Fixed 2018-05-15RHSA-2018:1457
Red Hat Enterprise Linux 7.2 Telco Extended Update Supportdhcp-12:4.2.5-42.el7_2.1Fixed 2018-05-15RHSA-2018:1457
Red Hat Enterprise Linux 7.2 Update Services for SAP Solutionsdhcp-12:4.2.5-42.el7_2.1Fixed 2018-05-15RHSA-2018:1457
Red Hat Enterprise Linux 7.3 Extended Update Supportdhcp-12:4.2.5-47.el7_3.1Fixed 2018-05-15RHSA-2018:1456
Red Hat Enterprise Linux 7.4 Extended Update Supportdhcp-12:4.2.5-58.el7_4.4Fixed 2018-05-15RHSA-2018:1455
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7imgbased-0:1.0.16-0.1.el7evFixed 2018-05-15RHSA-2018:1524
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7ovirt-node-ng-0:4.2.0-0.20170814.0.el7Fixed 2018-05-15RHSA-2018:1524
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-release-virtualization-host-0:4.2-3.0.el7Fixed 2018-05-15RHSA-2018:1524
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7redhat-virtualization-host-0:4.2-20180508.0Fixed 2018-05-15RHSA-2018:1524
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7rhvm-appliance-0:4.2-20180504.0Fixed 2018-05-15RHSA-2018:1525
Red Hat Enterprise Linux 5dhcpNot affected
Red Hat Enterprise Linux 8dhcpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1111.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-40 Manipulating Writeable Terminal Devices Likelihood: High · Severity: Very High
  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-136 LDAP Injection Likelihood: High · Severity: High
  • CAPEC-183 IMAP/SMTP Command Injection Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-77.

References

Check your stackJSON