Skip to content
Crypto Advisory Advanced CVE-2015-7973

Network Time Protocol Deja Vu: Broadcast Mode Replay Vulnerability

In authenticated NTP broadcast mode, the protocol does not resist replay of server packets, because broadcast packets carry a null origin timestamp and there is no freshness check. An on-path attacker or a malicious client on the same or adjacent subnet can replay captured broadcast packets to keep a victim's clock stuck at a fixed time value.

Aanchal Malhotra Follow

Originally disclosed on Cisco Talos

Expected Behavior: RFC 5905 page 29 Section 8 states that the on-wire protocol resists replay of server response packet in broadcast mode. Also on page 55 section 15, the RFC claims security in authenticated mode against on-path attackers where an attacker can:

Aanchal Malhotra, on Cisco Talos

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 broadcast server packets set the origin timestamp to null, so the client has no way to tell a fresh packet from a replayed one.

Impact

An attacker on the same or adjacent network could hold a victim's clock at a fixed past time, which the report says has severe implications for applications, though the attack requires on-path or adjacent-network access and knowledge of the trusted keys.

What the attacker needed

On-path position or same/adjacent subnet; shared trusted keys with the victim; NTP broadcast mode in use

The fix

The report recommends adding an incrementing counter in the packet extensions that the client checks against the previous packet, and warning the admin when the clock appears stuck; it does not say a fix was shipped.

How it was found

  1. Set up an NTP broadcast server with a trusted symmetric key and a broadcast client that only listens for broadcasts.
  2. Position the attacker between server and client, or on the same or adjacent subnet receiving the same broadcasts with the same trusted keys.
  3. Capture a broadcast packet from the server and replay it to the victim while preventing the original from arriving.
  4. Observe that the victim client's clock stays stuck at the replayed time value.

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 set their clocks from a time server. In broadcast mode the server regularly sends time updates to everyone on the network, and clients accept them. The report shows that an attacker who can capture those updates can send an old one back again and again, so the victim's clock never moves forward and stays stuck at the replayed time.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Aanchal Malhotra

View all

1 more disclosed report, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.