CVE-2023-26555
Medium · 6.4CVSS
6.4
EPSS
0.5%
Published
Apr 11, 2023
CISA due date
—
Cloudanix analysis
A problem in time-keeping software can let someone with physical access to a special GPS device corrupt the program's memory and potentially take over the computer running it.
- Exploitation
- Physical Access
- Attacker needs
- Physical Access
- Complexity
- High
- Impact
- Data Tampering
- Component
- Network Service
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds write in praecis_parse within ntpd/refclock_palisade.c allowing memory corruption when processing specially crafted input from a GPS receiver.
Why it matters to the business
Compromise of time synchronization services could disrupt operations in environments relying on accurate time, though the attack requires physical access or a manipulated GPS device and is complex to execute.
How an attack unfolds
An attacker with access to a compatible GPS receiver manipulates the device to send malformed data that triggers the out-of-bounds write during parsing in the NTP daemon, leading to memory corruption that may be leveraged for code execution or denial of service.
How to fix it
Upgrade NTP to a version containing a corrected praecis_parse implementation or apply distribution-specific patches; disable the Palisade refclock driver if the hardware is not required.
How to confirm the fix worked
Confirm the installed NTP version and inspect refclock_palisade.c to verify the presence of bounds checks in praecis_parse; test with known-good and malformed GPS input streams in a lab environment.
Typical attack path
- Obtain physical or adjacent access to a Palisade-compatible GPS receiver connected to the target NTP server
- Craft and inject malformed binary or NMEA data from the receiver
- Trigger praecis_parse in ntpd to perform the out-of-bounds write
- Exploit resulting memory corruption to execute arbitrary code or crash the daemon
How to detect it
Review ntpd logs and system crash reports for anomalies originating from refclock_palisade parsing; correlate with GPS receiver hardware events or unexpected time jumps.
What your security team should do
- Inventory systems using the Palisade refclock and assess exposure
- Apply available NTP updates or vendor patches immediately
- Disable unused GPS refclocks and prefer authenticated time sources
- Monitor upstream NTP releases for future fixes given the absence of listed fixed versions
The record
praecis_parse in ntpd/refclock_palisade.c in NTP 4.2.8p15 has an out-of-bounds write. Any attack method would be complex, e.g., with a manipulated GPS receiver.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | ntp | 0 | No fix |
| SUSE:Linux Enterprise Module for Legacy 15 SP4 | ntp | 0 | 4.2.8p17-150000.4.25.1 |
| SUSE:Linux Enterprise Module for Legacy 15 SP5 | ntp | 0 | 4.2.8p17-150000.4.25.1 |
| SUSE:Linux Enterprise Server 12 SP5 | ntp | 0 | 4.2.8p17-103.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | ntp | 0 | 4.2.8p17-103.1 |
| Ubuntu:16.04:LTS | ntp | 0 | No fix |
| Ubuntu:20.04:LTS | ntp | 0 | No fix |
| Ubuntu:22.04:LTS | ntp | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | ntp | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ntp | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ntp | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | ntp | 0 | No fix |
| openSUSE:Leap 15.4 | ntp | 0 | 4.2.8p17-150000.4.25.1 |
| openSUSE:Leap 15.5 | ntp | 0 | 4.2.8p17-150000.4.25.1 |
| openSUSE:Tumbleweed | ntp | 0 | 4.2.8p17-1.1 |
Related vulnerabilities
- CVE-2019-8936 NTP through 4.2.8p12 has a NULL Pointer Dereference. Also affects ntp
- CVE-2018-7182 The ctl_getitem method in ntpd in ntp-4.2.8p6 before 4.2.8p11 allows remote attackers to… Also affects ntp
- CVE-2015-5146 ntpd in ntp before 4.2.8p3 with remote configuration enabled allows remote authenticated… Also affects ntp
- CVE-2015-7849 Use-after-free vulnerability in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77… Also affects ntp
- CVE-2015-7855 The decodenetnum function in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77… Also affects ntp
- CVE-2015-7871 Crypto-NAK packets in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows… Also affects ntp
- CVE-2015-7704 The ntpd client in NTP 4.x before 4.2.8p4 and 4.3.x before 4.3.77 allows remote attackers… Also affects ntp
- CVE-2015-7854 Buffer overflow in the password management functionality in NTP 4.2.x before 4.2.8p4, and… Also affects ntp