7.5
CWE
361
Advisory Published
CVE Published
Updated

CVE-2015-5300

First published: Tue Oct 13 2015(Updated: )

It was found that ntpd did not correctly implement the -g option: -g Normally, ntpd exits with a message to the system log if the offset exceeds the panic threshold, which is 1000 s by default. This option allows the time to be set to any value without restriction; however, this can happen only once. If the thresh‐ old is exceeded after that, ntpd will exit with a message to the system log. This option can be used with the -q and -x options. See the tinker command for other options. ntpd could actually step the clock multiple times by more than the panic threshold if its clock discipline doesn't have enough time to reach the sync state and stay there for at least one update. If a man-in-the-middle attacker can control the NTP traffic since ntpd was started (or maybe up to 15-30 minutes after that), they can prevent the client from reaching the sync state and force it to step its clock by any amount any number of times, which can be used by attackers to expire certificates, etc. This is contrary to what the documentation says. Normally, the assumption is that an MITM attacker can step the clock more than the panic threshold only once when ntpd starts and to make a larger adjustment the attacker has to divide it into multiple smaller steps, each taking 15 minutes, which is slow.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/ntp<4.2.8
4.2.8
Red Hat Fedora=21
Red Hat Fedora=22
SUSE Linux Enterprise Debuginfo=11-sp2
SUSE Linux Enterprise Debuginfo=11-sp3
SUSE Linux Enterprise Debuginfo=11-sp4
SUSE Linux=42.1
openSUSE=13.2
SUSE Linux Enterprise Desktop=12
SUSE Linux Enterprise Desktop=12-sp1
SUSE Linux Enterprise Server=10-sp4
SUSE Linux Enterprise Server=11-sp2
SUSE Linux Enterprise Server=11-sp3
SUSE Linux Enterprise Server=11-sp4
SUSE Linux Enterprise Server=12-sp1
SUSE Linux Enterprise Software Development Kit=12
SUSE Linux Enterprise Software Development Kit=12-sp1
SUSE Manager Server=2.1
SUSE Manager Proxy=2.1
openSUSE OpenStack Cloud=5
SUSE Linux Enterprise Server=12
Red Hat Enterprise Linux Desktop=6.0
Red Hat Enterprise Linux Desktop=7.0
Red Hat Enterprise Linux HPC Node=6.0
Red Hat Enterprise Linux HPC Node=7.0
Red Hat Enterprise Linux HPC Node=7.1
Red Hat Enterprise Linux Server=6.0
Red Hat Enterprise Linux Server=7.0
Red Hat Enterprise Linux Server=6.7.z
Red Hat Enterprise Linux Server=7.1
Red Hat Enterprise Linux Workstation=6.0
Red Hat Enterprise Linux Workstation=7.0
Debian Linux=7.0
Debian Linux=8.0
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=15.04
Ubuntu=15.10
NTP<=4.2.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2015-5300?

    CVE-2015-5300 is classified as a high-severity vulnerability due to its potential impact on system time synchronization.

  • How do I fix CVE-2015-5300?

    To fix CVE-2015-5300, upgrade your NTP software to version 4.2.8 or later.

  • What systems are affected by CVE-2015-5300?

    CVE-2015-5300 affects various versions of NTP across multiple Linux distributions including Red Hat, Fedora, SUSE, and Ubuntu.

  • What does the -g option in NTP relate to CVE-2015-5300?

    The -g option in NTP, while intended to allow setting time to any value, compromises safeguards against excessive time shifts, making systems vulnerable under certain conditions.

  • Is CVE-2015-5300 a remote exploit risk?

    Yes, CVE-2015-5300 poses a remote exploit risk since it can be triggered by an attacker manipulating time settings without proper restrictions.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203