CVE-2015-8138: Input Validation

Published Jan 18, 2016
·
Updated

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.

Other sources

The TEST2 check of the originate timestamp in received packets, which requires the timestamp to match the value of the peer->aorg variable and which is supposed to be random to prevent spoofing attacks has been found to be faulty.

When ntpd receives a reply, it clears the peer->aorg variable to prevent a replay attack. This makes the value known to the attacker and a spoofed packet with a zero originate timestamp will pass the TEST2.

This means an off-path attacker can disrupt the synchronization with KoD packets, similar to CVE-2015-7704, or they can push arbitrary offset/delay measurements to the client, taking full control over the clock or cause ntpd to exit with an offset larger than the panic threshold.

— Red Hat

Affected Software

95 affected componentsFixes available
Siemens TIM 4R-IE (incl. SIPLUS NET variants)
Siemens TIM 4R-IE DNP3 (incl. SIPLUS NET variants)
Siemens SIMATIC NET CP 443-1 OPC UA
NTP ntp<=4.2.8
NTP ntp=4.3.0
NTP ntp=4.3.1
NTP ntp=4.3.2
NTP ntp=4.3.3
NTP ntp=4.3.4
NTP ntp=4.3.5
NTP ntp=4.3.6
NTP ntp=4.3.7
NTP ntp=4.3.8
NTP ntp=4.3.10
NTP ntp=4.3.11
NTP ntp=4.3.12
NTP ntp=4.3.13
NTP ntp=4.3.14
NTP ntp=4.3.15
NTP ntp=4.3.16
NTP ntp=4.3.17
NTP ntp=4.3.18
NTP ntp=4.3.19
NTP ntp=4.3.20
NTP ntp=4.3.21
NTP ntp=4.3.22
NTP ntp=4.3.23
NTP ntp=4.3.24
NTP ntp=4.3.25
NTP ntp=4.3.26
NTP ntp=4.3.27
NTP ntp=4.3.28
NTP ntp=4.3.29
NTP ntp=4.3.30
NTP ntp=4.3.31
NTP ntp=4.3.32
NTP ntp=4.3.33
NTP ntp=4.3.34
NTP ntp=4.3.35
NTP ntp=4.3.36
NTP ntp=4.3.37
NTP ntp=4.3.38
NTP ntp=4.3.39
NTP ntp=4.3.40
NTP ntp=4.3.41
NTP ntp=4.3.42
NTP ntp=4.3.43
NTP ntp=4.3.44
NTP ntp=4.3.45
NTP ntp=4.3.46
NTP ntp=4.3.47
NTP ntp=4.3.48
NTP ntp=4.3.49
NTP ntp=4.3.50
NTP ntp=4.3.51
NTP ntp=4.3.52
NTP ntp=4.3.53
NTP ntp=4.3.54
NTP ntp=4.3.55
NTP ntp=4.3.56
NTP ntp=4.3.57
NTP ntp=4.3.58
NTP ntp=4.3.59
NTP ntp=4.3.60
NTP ntp=4.3.61
NTP ntp=4.3.62
NTP ntp=4.3.63
NTP ntp=4.3.64
NTP ntp=4.3.65
NTP ntp=4.3.66
NTP ntp=4.3.67
NTP ntp=4.3.68
NTP ntp=4.3.69
NTP ntp=4.3.70
NTP ntp=4.3.71
NTP ntp=4.3.72
NTP ntp=4.3.73
NTP ntp=4.3.74
NTP ntp=4.3.75
NTP ntp=4.3.76
NTP ntp=4.3.77
NTP ntp=4.3.78
NTP ntp=4.3.79
NTP ntp=4.3.80
NTP ntp=4.3.81
NTP ntp=4.3.82
NTP ntp=4.3.83
NTP ntp=4.3.84
NTP ntp=4.3.85
NTP ntp=4.3.86
NTP ntp=4.3.87
NTP ntp=4.3.88
NTP ntp=4.3.89
debian/ntp<1:4.2.8p7+dfsg-1
1:4.2.8p7+dfsg-1
debian/ntp
1:4.2.6.p5+dfsg-2+deb7u71:4.2.6.p5+dfsg-7+deb8u21:4.2.8p7+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ntp to a version that resolves this vulnerability.

    Fixed in 1:4.2.8p7+dfsg-1
  2. Upgrade

    Upgrade debian/ntp to a version that resolves this vulnerability.

    Fixed in 1:4.2.6.p5+dfsg-2+deb7u7Fixed in 1:4.2.6.p5+dfsg-7+deb8u2Fixed in 1:4.2.8p7+dfsg-1

Event History

Jan 18, 2016
Data Sourced
via Red Hat·11:53 AM
DescriptionSeverityAffected Software
Jan 30, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
09:59 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:59 PM
DescriptionSeverityAffected Software
May 13, 2026
Updated
via NVD·12:24 AM
Affected Software
Nov 24, 2026
Withdrawn
via OSV·04:29 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2015-8138?

CVE-2015-8138 has a medium severity rating, which indicates a moderate risk to affected systems.

2

How do I fix CVE-2015-8138?

To mitigate CVE-2015-8138, users should update to NTP versions 4.2.8p12+dfsg-4 or 4.3.90 and higher.

3

What software is affected by CVE-2015-8138?

CVE-2015-8138 affects NTP versions before 4.2.8p6 and 4.3.x before 4.3.90.

4

Can CVE-2015-8138 be exploited remotely?

Yes, CVE-2015-8138 allows remote attackers to bypass origin timestamp validation.

5

What impact does CVE-2015-8138 have on my systems?

Exploitation of CVE-2015-8138 could lead to manipulation of time synchronization, which may affect system operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203