A command injection vulnerability was found in 11-dhclient script provided by dhcp-client located in /etc/NetworkManager/dispatcher.d/11-dhclient. Attacker in local network who is able to spoof DHCP responses or malicious DHCP server can execute arbitrary commands run with root privileges on client system by exploiting this vulnerability.
Acknowledgments: Name: Felix Wilhelm (Google Security Team)
Mitigation: Please access https://access.redhat.com/security/vulnerabilities/3442151 for information on how to mitigate this issue.
External References: https://access.redhat.com/security/vulnerabilities/3442151
(In reply to Adam Mariš from comment #0) > A command injection vulnerability was found in 11-dhclient script provided > by dhcp-client located in /etc/NetworkManager/dispatcher.d/11-dhclient. The script and package name slightly differs between Red Hat Enterprise Linux and Fedora versions: - In Red Hat Enterprise Linux 6, the script is included in the dhclient package and is located in /etc/NetworkManager/dispatcher.d/10-dhclient - In Red Hat Enterprise Linux 7, the script is included in the dhclient package and is located in /etc/NetworkManager/dispatcher.d/11-dhclient - In the current Fedora versions, the script is included in the dhcp-client package and is located in /etc/NetworkManager/dispatcher.d/11-dhclient The DHCP client package was renamed from dhclient to dhcp-client in Fedora 22: https://src.fedoraproject.org/cgit/rpms/dhcp.git/commit/?id=a0d47e7ac135c54863cb164adb811443f676aa17
Created dhcp tracking bugs for this issue: Affects: fedora-all [bug 1578362]
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:1453 https://access.redhat.com/errata/RHSA-2018:1453
This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2018:1454 https://access.redhat.com/errata/RHSA-2018:1454
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.4 Extended Update Support Via RHSA-2018:1455 https://access.redhat.com/errata/RHSA-2018:1455
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.3 Extended Update Support Via RHSA-2018:1456 https://access.redhat.com/errata/RHSA-2018:1456
This issue has been addressed in the following products: Red Hat Enterprise Linux 6.7 Extended Update Support Via RHSA-2018:1458 https://access.redhat.com/errata/RHSA-2018:1458
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.2 Advanced Update Support Red Hat Enterprise Linux 7.2 Update Services for SAP Solutions Red Hat Enterprise Linux 7.2 Telco Extended Update Support Via RHSA-2018:1457 https://access.redhat.com/errata/RHSA-2018:1457
This issue has been addressed in the following products: Red Hat Enterprise Linux 6.5 Advanced Update Support Via RHSA-2018:1460 https://access.redhat.com/errata/RHSA-2018:1460
This issue has been addressed in the following products: Red Hat Enterprise Linux 6.4 Advanced Update Support Via RHSA-2018:1461 https://access.redhat.com/errata/RHSA-2018:1461
This issue has been addressed in the following products: Red Hat Enterprise Linux 6.6 Advanced Update Support Red Hat Enterprise Linux 6.6 Telco Extended Update Support Via RHSA-2018:1459 https://access.redhat.com/errata/RHSA-2018:1459
This issue has been addressed in the following products: Red Hat Virtualization 4 for RHEL-7 Via RHSA-2018:1524 https://access.redhat.com/errata/RHSA-2018:1524
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.
This issue has been addressed in the following products: Red Hat Virtualization 4 Management Appliance Via RHSA-2018:1525 https://access.redhat.com/errata/RHSA-2018:1525
ISC, upstream for the ISC DHCP client and server implementation that is used in Red Hat Enterprise Linux, issued a statement confirming that this issue does not affect upstream packages, as the flaw is in the additional NetworkManager integration script that was written for use in Fedora and Red Hat Enterprise Linux: https://lists.isc.org/pipermail/dhcp-users/2018-May/021250.html