Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9633

NTP: Multiple vulnerabilities - net-misc/ntp-4.2.8_p14

    • Icon: Security Vulnerability Security Vulnerability
    • Resolution: Invalid
    • Icon: Normal Normal
    • None
    • None

      NTP quite a significant service which is a CVE farm

      {
        "id": "CVE-2020-13817",
        "is_known_exploited_vuln": false,
        "description": "ntpd in ntp before 4.2.8p14 and 4.3.x before 4.3.100 allows remote attackers to cause a denial of service (daemon exit or system time change) by predicting transmit timestamps for use in spoofed packets. The victim must be relying on unauthenticated IPv4 time sources. There must be an off-path attacker who can query time from the victim's ntpd instance.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2020-13817"
        ]
      }
      
      {
        "id": "CVE-2015-7977",
        "is_known_exploited_vuln": false,
        "description": "ntpd in NTP before 4.2.8p6 and 4.3.x before 4.3.90 allows remote attackers to cause a denial of service (NULL pointer dereference) via a ntpdc reslist command.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2015-7977"
        ]
      }
      
      {
        "id": "CVE-2016-1550",
        "is_known_exploited_vuln": false,
        "description": "An exploitable vulnerability exists in the message authentication functionality of libntp in ntp 4.2.8p4 and NTPSec a5fb34b9cc89b92a8fef2f459004865c93bb7f92. An attacker can send a series of crafted messages to attempt to recover the message digest key.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-1550"
        ]
      }
      
      {
        "id": "CVE-2016-1548",
        "is_known_exploited_vuln": false,
        "description": "An attacker can spoof a packet from a legitimate ntpd server with an origin timestamp that matches the peer->dst timestamp recorded for that server. After making this switch, the client in NTP 4.2.8p4 and earlier and NTPSec aa48d001683e5b791a743ec9c575aaf7d867a2b0c will reject all future legitimate server responses. It is possible to force the victim client to move time after the mode has been changed. ntpq gives no indication that the mode has been switched.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-1548"
        ]
      }
      
      {
        "id": "CVE-2016-1547",
        "is_known_exploited_vuln": false,
        "description": "An off-path attacker can cause a preemptible client association to be demobilized in NTP 4.2.8p4 and earlier and NTPSec a5fb34b9cc89b92a8fef2f459004865c93bb7f92 by sending a crypto NAK packet to a victim client with a spoofed source address of an existing associated peer. This is true even if authentication is enabled.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-1547"
        ]
      }
      
      {
        "id": "CVE-2015-8138",
        "is_known_exploited_vuln": false,
        "description": "NTP before 4.2.8p6 and 4.3.x before 4.3.90 allows remote attackers to bypass the origin timestamp validation via a packet with an origin timestamp set to zero.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2015-8138"
        ]
      }
      
      {
        "id": "CVE-2015-7705",
        "is_known_exploited_vuln": false,
        "description": "The rate limiting feature in NTP 4.x before 4.2.8p4 and 4.3.x before 4.3.77 allows remote attackers to have unspecified impact via a large number of crafted requests.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2015-7705"
        ]
      }
      
      {
        "id": "CVE-2015-7704",
        "is_known_exploited_vuln": false,
        "description": "The ntpd client in NTP 4.x before 4.2.8p4 and 4.3.x before 4.3.77 allows remote attackers to cause a denial of service via a number of crafted \"KOD\" messages.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2015-7704"
        ]
      }
      
      {
        "id": "CVE-2014-9751",
        "is_known_exploited_vuln": false,
        "description": "The read_network_packet function in ntp_io.c in ntpd in NTP 4.x before 4.2.8p1 on Linux and OS X does not properly determine whether a source IP address is an IPv6 loopback address, which makes it easier for remote attackers to spoof restricted packets, and read or write to the runtime state, by leveraging the ability to reach the ntpd machine's network interface with a packet from the ::1 address.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2014-9751"
        ]
      }
      
      {
        "id": "CVE-2020-11868",
        "is_known_exploited_vuln": false,
        "description": "ntpd in ntp before 4.2.8p14 and 4.3.x before 4.3.100 allows an off-path attacker to block unauthenticated synchronization via a server mode packet with a spoofed source IP address, because transmissions are rescheduled even when a packet lacks a valid origin timestamp.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2020-11868"
        ]
      }
      
      {
        "id": "CVE-2018-7183",
        "is_known_exploited_vuln": false,
        "description": "Buffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute arbitrary code by leveraging an ntpq query and sending a response with a crafted array.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2018-7183"
        ]
      }
      
      {
        "id": "CVE-2016-7433",
        "is_known_exploited_vuln": false,
        "description": "NTP before 4.2.8p9 does not properly perform the initial sync calculations, which allows remote attackers to unspecified impact via unknown vectors, related to a \"root distance that did not include the peer dispersion.\"",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-7433"
        ]
      }
      
      {
        "id": "CVE-2016-4953",
        "is_known_exploited_vuln": false,
        "description": "ntpd in NTP 4.x before 4.2.8p8 allows remote attackers to cause a denial of service (ephemeral-association demobilization) by sending a spoofed crypto-NAK packet with incorrect authentication data at a certain time.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-4953"
        ]
      }
      
      {
        "id": "CVE-2015-7853",
        "is_known_exploited_vuln": false,
        "description": "The datalen parameter in the refclock driver in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote attackers to execute arbitrary code or cause a denial of service (crash) via a negative input value.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2015-7853"
        ]
      }
      
      {
        "id": "CVE-2016-4956",
        "is_known_exploited_vuln": false,
        "description": "ntpd in NTP 4.x before 4.2.8p8 allows remote attackers to cause a denial of service (interleaved-mode transition and time change) via a spoofed broadcast packet. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-1548.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-4956"
        ]
      }
      
      {
        "id": "CVE-2016-4955",
        "is_known_exploited_vuln": false,
        "description": "ntpd in NTP 4.x before 4.2.8p8, when autokey is enabled, allows remote attackers to cause a denial of service (peer-variable clearing and association outage) by sending (1) a spoofed crypto-NAK packet or (2) a packet with an incorrect MAC value at a certain time.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-4955"
        ]
      }
      
      {
        "id": "CVE-2016-4954",
        "is_known_exploited_vuln": false,
        "description": "The process_packet function in ntp_proto.c in ntpd in NTP 4.x before 4.2.8p8 allows remote attackers to cause a denial of service (peer-variable modification) by sending spoofed packets from many source IP addresses in a certain scenario, as demonstrated by triggering an incorrect leap indication.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-4954"
        ]
      }
      
      {
        "id": "CVE-2017-6458",
        "is_known_exploited_vuln": false,
        "description": "Multiple buffer overflows in the ctl_put* functions in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allow remote authenticated users to have unspecified impact via a long variable.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2017-6458"
        ]
      }
      
      {
        "id": "CVE-2016-9042",
        "is_known_exploited_vuln": false,
        "description": "An exploitable denial of service vulnerability exists in the origin timestamp check functionality of ntpd 4.2.8p9. A specially crafted unauthenticated network packet can be used to reset the expected origin timestamp for target peers. Legitimate replies from targeted peers will fail the origin timestamp check (TEST2) causing the reply to be dropped and creating a denial of service condition.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-9042"
        ]
      }
      
      {
        "id": "CVE-2016-7431",
        "is_known_exploited_vuln": false,
        "description": "NTP before 4.2.8p9 allows remote attackers to bypass the origin timestamp protection mechanism via an origin timestamp of zero. NOTE: this vulnerability exists because of a CVE-2015-8138 regression.",
        "urls": [
          "https://nvd.nist.gov/vuln/detail/CVE-2016-7431"
        ]
      }
      

      Due to the large amount of CVE it was best to update and see how much is left.

      My approach to this topic (Unfortunately, on 1 machine, unfortunately it was left)
      To improve perception, make autogen for NTP.
      Due to the frequent vulnerabilities and quality of this firmware, I am replacing it with chrony and also a nice option to make chrony the default ntp client in funtoo (As other distributions have it that synchronize outside of systemd)

            seemant seemant
            tczaude tczaude
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: