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.
Originally disclosed on Cisco Talos
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.
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
- Send a sequence of crafted RRQ-Multicast requests to the atftpd daemon.
- The daemon processes the request and reaches sockaddr_print_addr with an unsupported address family.
- 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.