logo
DATABASE RESOURCES PRICING ABOUT US

CVE-2009-0692

Description

Stack-based buffer overflow in the script_write_params method in client/dhclient.c in ISC DHCP dhclient 4.1 before 4.1.0p1, 4.0 before 4.0.1p1, 3.1 before 3.1.2p1, 3.0, and 2.0 allows remote DHCP servers to execute arbitrary code via a crafted subnet-mask option. #### Notes Author| Note ---|--- [jdstrand](<https://launchpad.net/~jdstrand>) | requires connecting to a malicious dhcp v4 server. Assigning high priority due to widespread use and frequency of roaming users connecting to untrusted dhcp servers CERT VU#410676 this is only a DoS on Intrepid and later due to FORTIFY_SOURCE and can be considered 'low'. Jaunty also has an AppArmor profile that fully mitigates arbitrary code execution. dhcp v2 is not affected because it checks that lease -> options [DHO_SUBNET_MASK].len < sizeof lease -> address.iabuf. address.iabuf is the same size as netmask.iabuf. Furthermore, subnet_number() and broadcast_addr() (further below) properly check/use the length of netmask


Affected Package


OS OS Version Package Name Package Version
ubuntu upstream dhcp any
ubuntu 08.04 dhcp3 3.0.6.dfsg-1ubuntu9.1
ubuntu 08.10 dhcp3 3.1.1-1ubuntu2.2
ubuntu 09.04 dhcp3 3.1.1-5ubuntu8.2
ubuntu 09.10 dhcp3 3.1.2-1ubuntu7.1

Related