rpcbind "rpcbomb" CVE-2017-8779, CVE-2017-8804
A flaw in rpcbind and libtirpc allowed an attacker to cause excessive memory consumption by sending crafted RPC requests, leading to a denial of service. The entire system could slow down severely due to swap usage, even with overcommit enabled.
- Disclosed after 2.4 years
Description: this allowed an attacker to easily disrupt a remote system through excessive memory consumption.
Writeup: https://guidovranken.wordpress.com/2017/05/03/rpcbomb-remote-rpcbind-denial-of-service-patches/ Demonstration video: https://www.youtube.com/watch?v=b38H3oEgrQw (this video shows that the attack doesn't necessarily just crashes the rpcbind process, but that the entire system can slow down severely because it has to resort to swap memory, even if overcommit is enabled. This implies scope=changed in the CVSS. But I filled out unchanged to be consistent with the official assessment) CVSS score: https://nvd.nist.gov/vuln/detail/CVE-2017-8779
rpcbind/libtirpc: CVE-2017-8779 http://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=dd9c7cf4f8f375c6d641b760d124650c418c2ce3 (patches by me) GLIBC: CVE-2017-8804 https://sourceware.org/bugzilla/show_bug.cgi?id=21461
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 insufficient validation of RPC request sizes, leading to excessive memory allocation.
Impact
An attacker could disrupt a remote system, causing severe slowdowns or crashes due to memory exhaustion and swap usage.
What the attacker needed
Network access to rpcbind
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.
rpcbind is a network service. A bug let an attacker send requests that used up too much memory, disrupting the remote system. This is a denial-of-service attack.
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.