{"vuid":"VU#448384","idnumber":"448384","name":"ISC DHCP contains a format string vulnerabilty in errwarn.c","keywords":["ISC DHCP","errwarn.c","arbitrary code execution","format string errors"],"overview":"The Internet Systems Consortium (ISC) Dynamic Host Configuration Protocol (DHCP) application contains a format string vulnerability in errwarn.c that could allow an attacker to execute arbitrary code.","clean_desc":"As described in RFC 2131, \"The Dynamic Host Configuration Protocol (DHCP) provides a framework for passing configuration information to hosts on a TCP/IP network.\"  ISC DHCP is a reference implementation of the DHCP protocol, including a DHCP server, client, and relay agent. The code that handles error and warning messages (errwarn.c) contains several instances of a format string vulnerability. An insufficient number of parameters is passed to the syslog function, which creates the format string vulnerability. The vulnerable code is used by the DHCP client, server, and relay.","impact":"A remote, unauthenticated attacker may be able to execute code on the DHCP server with the privileges of the DHCPD process (typically root). An attacker may also be able to execute code on a system running the DHCP client or agent, since these also use the vulnerable code in errwarn.c.","resolution":"Apply a patch or update from your vendor\nFor vendor-specific information regarding vulnerable status and patch availability, please see the Systems Affected section of this document. Upgrade your version of DHCP Upgrade your system as specified by your vendor. If you need to upgrade DHCP manually, get DHCP 3.0.1. This vulnerability affects DHCP 2.0pl5 and prior, and 3.0b1-pl17 and prior.","workarounds":"Ingress filtering It may be possible to limit the scope of this vulnerability by blocking access to DHCP services at the network perimeter. Ingress filtering manages the flow of traffic as it enters a network under your administrative control. In the network usage policy of many sites, there are few reasons for external hosts to initiate inbound traffic to machines that provide no public services. Thus, ingress filtering should be performed at the border to prohibit externally initiated inbound traffic to non-authorized services. For DHCP, ingress filtering of the following ports can prevent attackers outside of your network from reaching vulnerable devices in the local network that are not explicitly authorized to provide public DHCP services. bootps     67/tcp     # Bootstrap Protocol Server\nbootps     67/udp     # Bootstrap Protocol Server\nbootpc     68/tcp     # Bootstrap Protocol Client\nbootpc     68/udp     # Bootstrap Protocol Client","sysaffected":"","thanks":"This vulnerability was publicly disclosed by infamous41md.","author":"This document was written by Will Dormann.","public":["http://www.securityfocus.com/bid/11591","http://xforce.iss.net/xforce/xfdb/17963","http://osvdb.org/displayvuln.php?osvdb_id=11527","http://marc.theaimsgroup.com/?l=dhcp-announce&m=109996073218290&w=2"],"cveids":["CVE-2004-1006"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2004-11-09T15:40:16Z","publicdate":"2004-11-08T00:00:00Z","datefirstpublished":"2005-03-09T22:15:58Z","dateupdated":"2005-08-01T14:17:26Z","revision":20,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"15","cam_population":"8","cam_impact":"19","cam_easeofexploitation":"8","cam_attackeraccessrequired":"15","cam_scorecurrent":"10.26","cam_scorecurrentwidelyknown":"11.97","cam_scorecurrentwidelyknownexploited":"18.81","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":10.26,"vulnote":null}