{"vuid":"VU#568372","idnumber":"568372","name":"NTP mode 7 denial-of-service vulnerability","keywords":["NTP","dos","denial-of-service"],"overview":"NTP contains a vulnerability in the handling of mode 7 requests, which can result in a denial-of-service condition.","clean_desc":"NTP mode 7 (MODE_PRIVATE) is used by the ntpdc query and control utility. In contrast, ntpq uses NTP mode 6 (MODE_CONTROL), while routine NTP time transfers use modes 1 through 5. Upon receipt of an incorrect mode 7 request or a mode 7 error response from an address that is not listed in a \"restrict ... noquery\" or \"restrict ... ignore\" segment, ntpd will reply with a mode 7 error response and log a message. If an attacker spoofs the source address of ntpd host A in a mode 7 response packet sent to ntpd host B, both A and B will continuously send each other error responses, for as long as those packets get through. If an attacker spoofs an address of ntpd host A in a mode 7 response packet sent to ntpd host A, then host A will respond to itself endlessly, consuming CPU and logging excessively.","impact":"A remote, unauthenticated attacker may be able to cause a denial-of-service condition on a vulnerable NTP server.","resolution":"Apply an update\nThis issue is addressed in NTP 4.2.4p8. Please check with your vendor for an update, or you may download NTP 4.2.4p8 from ntp.org.","workarounds":"Configure NTP to limit source addresses By using \"restrict ... noquery\" or \"restrict ... ignore\" entries in the ntp.conf file, ntpd can be configured to limit the source addresses to which it will respond. Filter NTP mode 7 packets that specify source and destination port 123 In most cases, ntpdc mode 7 requests will have either a source or destination port of 123, but not both. Use anti-spoofing IP address filters RFC 2827 (BCP 38) describes network ingress filtering, which can prevent UDP traffic claiming to be from a local address from entering your network from an outside source. Some ISPs may employ unicast reverse path filtering (uRPF) to limit the spoofed traffic that can enter your network.","sysaffected":"","thanks":"Thanks to Harlan Stenn for reporting this vulnerability.","author":"This document was written by Will Dormann, based on information provided by Harlan Stenn.","public":["https://support.ntp.org/bugs/show_bug.cgi?id=1331","http://tools.ietf.org/html/rfc2827","http://tools.ietf.org/html/rfc3704","http://www.ntp.org/downloads.html","http://www.ubuntu.com/usn/USN-867-1","http://security-tracker.debian.org/tracker/CVE-2009-3563","http://tools.cisco.com/security/center/viewAlert.x?alertId=19540"],"cveids":["CVE-2009-3563"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2009-10-09T12:27:00Z","publicdate":"2009-12-08T00:00:00Z","datefirstpublished":"2009-12-08T19:16:05Z","dateupdated":"2011-07-22T12:47:58Z","revision":32,"vrda_d1_directreport":"1","vrda_d1_population":"4","vrda_d1_impact":"3","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"udp","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":0.0,"vulnote":null}