Network Time Protocol Ephemeral Association Time Spoofing Vulnerability
ntpd allows an authenticated peer to create unlimited ephemeral associations under a single trusted key, enabling a Sybil attack where the attacker's many false time sources outnumber legitimate peers and cause the victim to adjust its clock. An attacker with knowledge of the trusted key could modify the victim's clock.
Originally disclosed on Cisco Talos
ntpd is vulnerable to Sybil attacks. A malicious authenticated peer can create arbitrarily-many ephemeral associations in order to win ntpd’s clock selection algorithm and modify a victim’s clock.
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, ntpd does not limit the number of ephemeral associations that can be created under a single trusted key, allowing a Sybil attack.
Impact
An attacker with knowledge of a trusted key could modify the victim's clock, potentially affecting time-sensitive applications.
What the attacker needed
Knowledge of a trusted symmetric key; ability to send NTP packets to the victim; victim uses the 'trustedkey' directive
The fix
The vulnerability should be fixed by limiting ephemeral associations per key, as recommended in the report.
How it was found
- Configure the victim ntpd with a trusted key.
- Set up multiple attacking nodes with the same trusted key.
- Configure each attacking node to peer with the victim using the trusted key.
- The victim creates ephemeral associations for each attacker.
- Attackers advertise false time consistently behind the legitimate time.
- Victim selects an attacker as system peer and steps its clock.
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.
The Network Time Protocol (NTP) keeps computer clocks accurate by asking time servers for the time. This report shows that a server can be tricked into accepting time from many fake sources created by an attacker who knows a shared secret key, causing the clock to be set incorrectly.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.