CVE-2014-9296
ntp: receive() missing return on error
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
The receive function in ntp_proto.c in ntpd in NTP before 4.2.8 continues to execute after detecting a certain authentication error, which might allow remote attackers to trigger an unintended association change via crafted packets.
La función de recepción en ntp_proto.c en ntpd en NTP anterior a 4.2.8 continúa ejecutando después de detectar un cierto error de autenticación, lo que podría permitir a un atacante remoto a provocar una asociación involuntaria mediante paquetes modificados.
A missing return statement in the receive() function could potentially allow a remote attacker to bypass NTP's authentication mechanism.
If no authentication key is defined in the ntp.conf file, a cryptographically-weak default key is generated. ntp-keygen before 4.2.7p230 uses a non-cryptographic random number generator with a weak seed to generate symmetric keys. A remote unauthenticated attacker may craft special packets that trigger buffer overflows in the ntpd functions crypto_recv() (when using autokey authentication), ctl_putdata(), and configure(). The resulting buffer overflows may be exploited to allow arbitrary malicious code to be executed with the privilege of the ntpd process. A section of code in ntpd handling a rare error is missing a return statement, therefore processing did not stop when the error was encountered. This situation may be exploitable by an attacker. Stephen Roettger of the Google Security Team, Sebastian Krahmer of the SUSE Security Team and Harlan Stenn of Network Time Foundation discovered that the length value in extension fields is not properly validated in several code paths in ntp_crypto.c, which could lead to information leakage or denial of service. Stephen Roettger of the Google Security Team reported that ACLs based on IPv6 ::1 addresses can be bypassed. The ntp package has been patched to fix these issues.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2014-12-05 CVE Reserved
- 2014-12-20 CVE Published
- 2024-08-06 CVE Updated
- 2024-08-06 First Exploit
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-17: DEPRECATED: Code
- CWE-390: Detection of Error Condition Without Action
CAPEC
References (21)
URL | Tag | Source |
---|---|---|
http://advisories.mageia.org/MGASA-2014-0541.html | X_refsource_confirm | |
http://bugs.ntp.org/show_bug.cgi?id=2670 | X_refsource_confirm | |
http://secunia.com/advisories/62209 | Third Party Advisory | |
http://www.kb.cert.org/vuls/id/852879 | Third Party Advisory |
|
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html | X_refsource_confirm |
|
http://www.securityfocus.com/bid/71758 | Vdb Entry | |
https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04790232 | X_refsource_confirm | |
https://kc.mcafee.com/corporate/index?page=content&id=SB10103 | X_refsource_confirm | |
https://www.arista.com/en/support/advisories-notices/security-advisories/1047-security-advisory-8 | X_refsource_misc |
URL | Date | SRC |
---|---|---|
http://bk1.ntp.org/ntp-dev/?PAGE=patch&REV=548ad06feXHK1HlZoY-WZVyynwvwAg | 2024-08-06 |
URL | Date | SRC |
---|