Skip to content
DoS Advisory Intermediate CVE-2020-6097

atftpd daemon Denial of Service Vulnerability

A remote attacker can send a sequence of crafted RRQ-Multicast requests to the atftpd daemon, causing an assert() call to fail and the daemon to abort, resulting in denial of service.

Peter Wang Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable denial of service vulnerability exists in the atftpd daemon functionality of atftp 0.7.git20120829-3.1+b1. A specially crafted sequence of RRQ-Multicast requests trigger an assert() call resulting in denial-of-service.

Peter Wang, 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

The function sockaddr_print_addr does not handle an address family of AF_UNSPEC and calls assert() instead of returning an error.

Impact

The atftpd daemon aborts, causing a denial of service.

What the attacker needed

Network access to the atftpd service

How it was found

  1. Send a sequence of crafted RRQ-Multicast requests to the atftpd daemon.
  2. The daemon processes the request and reaches sockaddr_print_addr with an unsupported address family.
  3. The assert() call fails, causing the daemon to abort.

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 atftpd server has a check that assumes every network address it handles is either IPv4 or IPv6. When it receives a request with an address type it does not recognise, the check fails and the program crashes. An attacker can send such requests to stop the server from working.

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.

More by Peter Wang

View all

2 more disclosed reports, 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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.