Cloudanix VulnDB

CVE-2015-1798

None

CVSS

—

EPSS

2.2%

Published

Apr 8, 2015

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in older time synchronization software lets attackers on the same network feed incorrect time information to systems without needing the right credentials.

Exploitation
Adjacent Network
Attacker needs
None
Complexity
High
Impact
Data Tampering
Component
Network Service
Class
Authentication Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The symmetric-key authentication check in ntpd receive function accepts packets when the MAC field length is zero, allowing unauthenticated spoofed NTP packets to be processed as valid.

Why it matters to the business

Attackers can inject false time data into NTP infrastructure, causing desynchronized clocks that disrupt logging accuracy, certificate validation, scheduled jobs, and security controls across the environment.

How an attack unfolds

A man-in-the-middle attacker intercepts legitimate NTP exchanges and replies with crafted packets that omit the MAC entirely; because the length check precedes MAC validation, the packets are accepted and time updates are applied without authentication.

How to fix it

Upgrade all NTP installations to version 4.2.8p2 or newer; disable symmetric-key mode if not required; enforce network segmentation and NTP authentication where feasible.

How to confirm the fix worked

Verify deployed ntpd version is 4.2.8p2 or later; perform packet capture tests confirming that zero-length MAC packets are rejected; review configuration for required authentication settings.

Typical attack path

  1. Establish network position between NTP client and server
  2. Capture outbound NTP requests
  3. Craft and transmit spoofed responses with zero-length MAC field
  4. Induce acceptance of falsified time data
  5. Leverage resulting clock skew for follow-on attacks

How to detect it

Review NTP packet captures and logs for responses containing a zero-length MAC field; correlate with sudden unexpected time changes on affected hosts; examine ntpd debug or statistics logs for authentication bypass indicators.

  • ntp_proto.c receive function processing zero-length MAC
  • ntpd packets with MAC length field set to 0 yet accepted
  • sudden unscheduled time adjustments in ntpd statistics

What your security team should do

  • Prioritize upgrade of all NTP daemons to 4.2.8p2 or later
  • Audit NTP configurations for symmetric-key usage and replace with modern alternatives where possible
  • Implement network controls to limit NTP traffic to trusted sources
  • Monitor system clocks for unexpected drift or jumps

The record

The symmetric-key feature in the receive function in ntp_proto.c in ntpd in NTP 4.x before 4.2.8p2 requires a correct MAC only if the MAC field has a nonzero length, which makes it easier for man-in-the-middle attackers to spoof packets by omitting the MAC.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 ntp 0 1:4.2.6.p5+dfsg-6
Debian:6.0 ntp 0 1:4.2.6.p2+dfsg-1+deb6u3
Debian:7 ntp 0 1:4.2.6.p5+dfsg-2+deb7u4
Mageia:4 ntp 0 4.2.6p5-15.5.mga4
Red Hat:enterprise_linux:6::client ntp 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::client ntp-debuginfo 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::client ntp-doc 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::client ntp-perl 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::client ntpdate 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::computenode ntp 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::computenode ntp-debuginfo 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::computenode ntp-doc 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::computenode ntp-perl 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::computenode ntpdate 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::server ntp 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::server ntp-debuginfo 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::server ntp-doc 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::server ntp-perl 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::server ntpdate 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::workstation ntp 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::workstation ntp-debuginfo 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::workstation ntp-doc 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::workstation ntp-perl 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:6::workstation ntpdate 0 0:4.2.6p5-5.el6
Red Hat:enterprise_linux:7::client ntp 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::client ntp-debuginfo 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::client ntp-doc 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::client ntp-perl 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::client ntpdate 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::client sntp 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::computenode ntp 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::computenode ntp-debuginfo 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::computenode ntp-doc 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::computenode ntp-perl 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::computenode ntpdate 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::computenode sntp 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::server ntp 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::server ntp-debuginfo 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::server ntp-doc 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::server ntp-perl 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::server ntpdate 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::server sntp 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::workstation ntp 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::workstation ntp-debuginfo 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::workstation ntp-doc 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::workstation ntp-perl 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::workstation ntpdate 0 0:4.2.6p5-22.el7
Red Hat:enterprise_linux:7::workstation sntp 0 0:4.2.6p5-22.el7
SUSE:Linux Enterprise Desktop 12 ntp 0 4.2.6p5-44.1
SUSE:Linux Enterprise Server 12 ntp 0 4.2.6p5-44.1
SUSE:Linux Enterprise Server for SAP Applications 12 ntp 0 4.2.6p5-44.1
Ubuntu:14.04:LTS ntp 0 1:4.2.6.p5+dfsg-3ubuntu2.14.04.3
openSUSE:Tumbleweed ntp 0 4.2.8p9-1.1

Related vulnerabilities