Synopsis
The DHCP server installed on the remote Linux host is affected by multiple vulnerabilities.
Description
The ISC DHCP server installed on the remote host is prior to 4.4.3-P1. It is, therefore, vulnerable to multiple vulnerabilities:
- In ISC DHCP 4.4.0 up to 4.4.3, ISC DHCP 4.1-ESV-R1 up to 4.1-ESV-R16-P1, when the function option_code_hash_lookup() is called from add_option(), it increases the option's refcount field. However, there is not a corresponding call to option_dereference() to decrement the refcount field. The function add_option() is only used in server responses to lease query packets. Each lease query response calls this function for several options, so eventually, the reference counters could overflow and cause the server to abort. (CVE-2022-2928)
- In ISC DHCP 1.0 up to 4.4.3, ISC DHCP 4.1-ESV-R1 up to 4.1-ESV-R16-P1 a system with access to a DHCP server, sending DHCP packets crafted to include fqdn labels longer than 63 bytes, could eventually cause the server to run out of memory. (CVE-2022-2929)
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.
Solution
Upgrade the affected DHCP server to version 4.4.3-P1 or later.
Plugin Details
File Name: isc_dhcp_4_4_3-P1.nasl
Agent: unix
Supported Sensors: Nessus Agent, Nessus
Risk Information
Vector: CVSS2#AV:A/AC:L/Au:N/C:N/I:N/A:C
Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C
Vulnerability Information
CPE: cpe:/a:isc:dhcp
Required KB Items: dhcp_server/type, dhcp_server/version
Exploit Ease: No known exploits are available
Patch Publication Date: 10/5/2022
Vulnerability Publication Date: 10/5/2022