ISC DHCPD VSPRINTF Buffer Overflow Vulnerability
BID:10591
Info
ISC DHCPD VSPRINTF Buffer Overflow Vulnerability
| Bugtraq ID: | 10591 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2004-0461 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 22 2004 12:00AM |
| Updated: | Jul 12 2009 05:16AM |
| Credit: | Discovery is credited to Gregory Duchemin and Solar Designer. |
| Vulnerable: |
SuSE SUSE Linux Enterprise Server 8 SuSE SUSE Linux Enterprise Server 7 SuSE Linux 8.1 SuSE Linux 8.0 i386 SuSE Linux 8.0 S.u.S.E. SuSE eMail Server III S.u.S.E. Linux Personal 9.1 S.u.S.E. Linux Personal 9.0 x86_64 S.u.S.E. Linux Personal 9.0 S.u.S.E. Linux Personal 8.2 S.u.S.E. Linux Office Server S.u.S.E. Linux Firewall on CD S.u.S.E. Linux Database Server 0 S.u.S.E. Linux Connectivity Server S.u.S.E. Linux Admin-CD for Firewall Redhat Fedora Core2 Mandriva Linux Mandrake 10.0 AMD64 Mandriva Linux Mandrake 10.0 Mandriva Linux Mandrake 9.2 amd64 Mandriva Linux Mandrake 9.2 Mandriva Linux Mandrake 9.1 ppc Mandriva Linux Mandrake 9.1 Mandriva Linux Mandrake 9.0 ISC DHCPD 3.0.1 rc13 ISC DHCPD 3.0.1 rc12 Infoblox DNS One Appliance 2.4 .0-8A Infoblox DNS One Appliance 2.4 .0-8 Infoblox DNS One Appliance 2.3.1 -R5 |
| Not Vulnerable: |
ISC DHCPD 3.0.1 rc14 |
Discussion
ISC DHCPD VSPRINTF Buffer Overflow Vulnerability
ISC DHCPD is reported likely vulnerable to remotely exploitable buffer overflow vulnerabilities on systems which lack a vsnprintf() library function.
On systems which lack the vsnprintf() library call, ISC DHCPD defines vsnprintf as:
#define vsnprintf(buf, size, fmt, list) vsprintf (buf, fmt, list)
This definition discards the size argument to the function, potentially allowing any occurrence of vsnprintf() to be exploitable, by overflowing whatever intended buffer is passed to the library call.
Other locations in DHCPD utilizing this function may be exploitable. Successfully exploiting this issue may lead to a denial of service condition, or remote code execution in the context of the DHCPD server.
This issue is reported to affect ISC DHCPD versions 3.0.1rc12 and 3.0.1rc13.
ISC DHCPD is reported likely vulnerable to remotely exploitable buffer overflow vulnerabilities on systems which lack a vsnprintf() library function.
On systems which lack the vsnprintf() library call, ISC DHCPD defines vsnprintf as:
#define vsnprintf(buf, size, fmt, list) vsprintf (buf, fmt, list)
This definition discards the size argument to the function, potentially allowing any occurrence of vsnprintf() to be exploitable, by overflowing whatever intended buffer is passed to the library call.
Other locations in DHCPD utilizing this function may be exploitable. Successfully exploiting this issue may lead to a denial of service condition, or remote code execution in the context of the DHCPD server.
This issue is reported to affect ISC DHCPD versions 3.0.1rc12 and 3.0.1rc13.
Exploit / POC
ISC DHCPD VSPRINTF Buffer Overflow Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
ISC DHCPD VSPRINTF Buffer Overflow Vulnerability
Solution:
Mandrake has released advisory MDKSA-2004:061 to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
SuSE linux has released advisory SuSE-SA:2004:019 to address this and other issues. Please see the referenced advisory for further information.
Red Hat Fedora has released advisory FEDORA-2004-190 dealing with this and other issues. Please see the referenced advisory for more information.
OpenPKG has released an advisory (OpenPKG-SA-2004.031) to address this and other issues in dhcpd. Please see the referenced advisory for more information.
ISC has addressed this issue with the release of ISC DHCPD 3.0.1rc14.
ISC DHCPD 3.0.1 rc12
ISC DHCPD 3.0.1 rc13
Solution:
Mandrake has released advisory MDKSA-2004:061 to address this issue. Please see the attached advisory for details on obtaining and applying fixes.
SuSE linux has released advisory SuSE-SA:2004:019 to address this and other issues. Please see the referenced advisory for further information.
Red Hat Fedora has released advisory FEDORA-2004-190 dealing with this and other issues. Please see the referenced advisory for more information.
OpenPKG has released an advisory (OpenPKG-SA-2004.031) to address this and other issues in dhcpd. Please see the referenced advisory for more information.
ISC has addressed this issue with the release of ISC DHCPD 3.0.1rc14.
ISC DHCPD 3.0.1 rc12
-
Fedora dhclient-3.0.1rc14-1.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora dhcp-3.0.1rc14-1.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora dhcp-debuginfo-3.0.1rc14-1.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora dhcp-devel-3.0.1rc14-1.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
Fedora dhcp-devel-3.0.1rc14-1.x86_64.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/ -
ISC dhcp-3.0.1rc14.tar.gz
ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.1rc14.tar.gz -
Mandrake dhcp-client-3.0-1.rc14.0.1.92mdk.amd64.rpm
Mandrake Linux 9.2/AMD64
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-client-3.0-1.rc14.0.1.92mdk.i586.rpm
Mandrake Linux 9.2
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-common-3.0-1.rc14.0.1.92mdk.i586.rpm
Mandrake Linux 9.2
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-devel-3.0-1.rc14.0.1.92mdk.i586.rpm
Mandrake Linux 9.2
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-relay-3.0-1.rc14.0.1.92mdk.i586.rpm
Mandrake Linux 9.2
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-server-3.0-1.rc14.0.1.92mdk.amd64.rpm
Mandrake Linux 9.2/AMD64
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-server-3.0-1.rc14.0.1.92mdk.i586.rpm
Mandrake Linux 9.2
http://www.linux-mandrake.com/en/ftp.php3 -
SuSE dhcp-server-3.0.1rc12-71.i586.patch.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/dhcp-server-3.0.1 rc12-71.i586.patch.rpm -
SuSE dhcp-server-3.0.1rc12-71.i586.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/i586/dhcp-server-3.0.1 rc12-71.i586.rpm -
SuSE dhcp-server-3.0.1rc12-71.x86_64.patch.rpm
x86-64 Platform
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/dhcp-server-3 .0.1rc12-71.x86_64.patch.rpm -
SuSE dhcp-server-3.0.1rc12-71.x86_64.rpm
x86-64 Platform
ftp://ftp.suse.com/pub/suse/x86_64/update/9.0/rpm/x86_64/dhcp-server-3 .0.1rc12-71.x86_64.rpm
ISC DHCPD 3.0.1 rc13
-
ISC dhcp-3.0.1rc14.tar.gz
ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.1rc14.tar.gz -
Mandrake dhcp-client-3.0-1.rc14.0.1.100mdk.amd64.rpm
Mandrake Linux 10.0/AMD64
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-client-3.0-1.rc14.0.1.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-common-3.0-1.rc14.0.1.100mdk.amd64.rpm
Mandrake Linux 10.0/AMD64
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-common-3.0-1.rc14.0.1.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-devel-3.0-1.rc14.0.1.100mdk.amd64.rpm
Mandrake Linux 10.0/AMD64
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-devel-3.0-1.rc14.0.1.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-relay-3.0-1.rc14.0.1.100mdk.amd64.rpm
Mandrake Linux 10.0/AMD64
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-relay-3.0-1.rc14.0.1.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-server-3.0-1.rc14.0.1.100mdk.amd64.rpm
Mandrake Linux 10.0/AMD64
http://www.linux-mandrake.com/en/ftp.php3 -
Mandrake dhcp-server-3.0-1.rc14.0.1.100mdk.i586.rpm
Mandrake Linux 10.0
http://www.linux-mandrake.com/en/ftp.php3 -
OpenPKG dhcpd-3.0.1rc13-2.0.1.src.rpm
OpenPKG 2.0
ftp://ftp.openpkg.org/release/2.0/UPD/dhcpd-3.0.1rc13-2.0.1.src.rpm -
SuSE dhcp-server-3.0.1rc13-28.15.i586.patch.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/dhcp-server-3.0.1 rc13-28.15.i586.patch.rpm -
SuSE dhcp-server-3.0.1rc13-28.15.i586.rpm
x86 Platform
ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/i586/dhcp-server-3.0.1 rc13-28.15.i586.rpm -
SuSE dhcp-server-3.0.1rc13-28.15.x86_64.patch.rpm
x86-64 Platform
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/dhcp-server-3 .0.1rc13-28.15.x86_64.patch.rpm -
SuSE dhcp-server-3.0.1rc13-28.15.x86_64.rpm
x86-64 Platform
ftp://ftp.suse.com/pub/suse/x86_64/update/9.1/rpm/x86_64/dhcp-server-3 .0.1rc13-28.15.x86_64.rpm
References
ISC DHCPD VSPRINTF Buffer Overflow Vulnerability
References:
References:
- MDKSA-2004:061 dhcp (Mandrake)
- Multiple Vulnerabilities in ISC DHCP 3 (US-CERT)
- ISC DHCP overflows (Gregory Duchemin
)