Network Time Protocol Crypto-NAK Preemptible Association Denial of Service Vulnerability
An off-path attacker can send a spoofed crypto-NAK packet with the source address of an existing peer to a client that holds a preemptible association, causing the client to demobilise that association. By repeating the packet, the attacker can prevent the victim from ever re-establishing the association and synchronising time with the legitimate server.
Originally disclosed on Cisco Talos
An off-path attacker can cause a preemptible client association to be demobilized by sending a crypto NAK packet to a victim client with a spoofed source address of an existing associated peer. This is true even if authentication is enabled.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the client treats an unauthenticated crypto-NAK as authoritative and calls unpeer() on a preemptible association, letting an off-path spoofed packet tear down state.
Impact
The victim client loses its time association and cannot synchronise time while the attack continues, causing a denial of service; the text notes this works even with authentication enabled.
What the attacker needed
Client uses a preemptible association; attacker can spoof source addresses; attacker knows the peer's address
The fix
Clients should discard packets that fail to authenticate before they can change NTP state, and may safely ignore crypto-NAK packets entirely, plus add sanity checks such as origin timestamp validation.
How it was found
- Set up a client with a preemptible association to a time server (via config preempt flag, broadcast/multicast, or manycast/pool).
- Send a crypto-NAK packet to the client with the source address spoofed to that of the existing peer.
- Observe the client demobilise the association.
- Repeat the crypto-NAK roughly every second to prevent re-establishment and time synchronisation.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
NTP is the protocol computers use to keep their clocks correct by talking to time servers. A client can hold a 'preemptible' association, meaning the server entry may be replaced or dropped under certain conditions. Here, a forged packet that claims the server cannot authenticate the client makes the client throw away that server entry, so it stops getting the time, and the attacker can keep doing this to stop it recovering.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.