rdiffweb vulnerable to potential DoS via memory consumption
The SSH key title field in rdiffweb had no length limit, so an attacker could submit an extremely long title and cause excessive memory use. This could lead to a denial of service, and the issue is fixed in version 2.4.8.
ikus060/rdiffweb
Originally disclosed on huntr
rdiffweb prior to 2.4.8 is vulnerable to a potential Dos attack via an unlimited length "title" field when adding an SSH key. This can result in excess memory consumption, leading to a Denial of Service (DoS). This issue is patched in version 2.4.8. There are no known workarounds.
From the GitHub Advisory Database (GHSA-xhw9-4wqq-x67v, CC BY 4.0).
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 application accepted the SSH key title field without enforcing a maximum length, allowing unbounded memory allocation.
Impact
An attacker could cause excess memory consumption, potentially leading to a denial of service.
What the attacker needed
Ability to add an SSH key
The fix
The issue was fixed in version 2.4.8 by limiting the length of the title field.
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.
When you add an SSH key to a service, you give it a name or title. This software did not check how long that title could be, so someone could send a huge title and use up the server's memory. That could make the service slow or stop working for everyone.
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.