{"vuid":"VU#149953","idnumber":"149953","name":"ISC \"dhcrelay\" fails to limit hop count when malicious bootp packet is received","keywords":["ISC","dhcrelay","DHCPD","hop count","malicious bootp packet"],"overview":"A vulnerability in the Internet Software Consortium's \"dhcrelay\" makes it possible for a remote attacker to use dhcrelay to launch a denial-of-service attack against a victim dhcp server.","clean_desc":"The Internet Software Consortium (ISC) produces a \"freely redistributable reference implementation of all aspects of the DHCP protocol, through a suite of tools.\" One of these tools is a dhcp relay agent (dhcrelay). From the dhcrelay man page: The Internet Software Consortium DHCP Relay Agent, dhcrelay, provides a means for relaying DHCP and BOOTP requests from a subnet to which no DHCP server is directly connected to one or more DHCP servers on other subnets. The DHCP Relay Agent listens for DHCP and BOOTP queries and  responses. When a query is received from a client, dhcrelay forwards it to the list of DHCP servers specified on the command line. When a reply is received from a server, it is broadcast or unicast (according to the relay agent's ability or the client's request) on the network from which the original request came. A vulnerability exists in the way dhcrelay processes incoming bootp requests. This vulnerability can allow a remote attacker to launch a denial-of-service attack against DHCP servers configured to communicate with the dhcrelay host. Debian Security Advisory DSA 245-1 succinctly summarizes the problem: When the dhcp-relay receives a BOOTP request it forwards the request to the DHCP server using the broadcast MAC address ff:ff:ff:ff:ff:ff which causes the network interface to reflect the packet back into the socket. To prevent loops the dhcrelay checks whether the relay-address is its own, in which case the packet would be dropped. In combination with a missing upper boundary for the hop counter an attacker can force the dhcp-relay to send a continuing packet storm towards the configured dhcp server(s).","impact":"A remote attacker can use dhcrelay to launch a denial-of-service attack against DHCP servers configured to communicate with the dhcrelay host.","resolution":"Apply a patch from your vendor.","workarounds":"","sysaffected":"","thanks":"This vulnerability was discovered by Florian Lohoff and \nreported\n to the BugTraq mailing list on January 15, 2003.","author":"This document was written by Ian A Finlay.","public":["http://online.securityfocus.com/bid/6628","http://online.securityfocus.com/archive/1/307451","http://linuxcommand.org/man_pages/dhcrelay8.html","http://www.uniras.gov.uk/l1/l2/l3/brief2003/Brief%20-%205803.txt","http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1531.html"],"cveids":["CVE-2003-0039"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2003-01-21T18:08:27Z","publicdate":"2003-01-15T00:00:00Z","datefirstpublished":"2003-02-04T16:43:10Z","dateupdated":"2003-05-30T16:44:56Z","revision":17,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"17","cam_population":"20","cam_impact":"3","cam_easeofexploitation":"15","cam_attackeraccessrequired":"15","cam_scorecurrent":"8.1","cam_scorecurrentwidelyknown":"9.365625","cam_scorecurrentwidelyknownexploited":"14.428125","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":8.1,"vulnote":null}