EmbedThis GoAhead web server denial-of-service vulnerability
A denial-of-service vulnerability exists in the GoAhead web server when processing multi-part/form-data requests. A specially crafted request can cause an infinite loop, leading to 100% CPU utilisation, and the request can be unauthenticated.
a Cisco Talos researcher Follow
Originally disclosed on Cisco Talos
A denial-of-service vulnerability exists in the processing of multi-part/form-data requests in the base GoAhead web server application in versions v5.0.1, v.4.1.1 and v3.6.5. A specially crafted HTTP request can lead to an infinite loop in the process.
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 the server does not check whether the client connection is still open before repeatedly attempting to flush data to it, causing an infinite loop when the connection is closed prematurely.
Impact
An unauthenticated attacker could cause 100% CPU utilisation on the server, potentially leading to denial of service, though the process may still handle requests and further impact depends on system resources.
What the attacker needed
Network access to the server; ME_GOAHEAD_UPLOAD enabled (default); ME_GOAHEAD_UPLOAD_DIR set (default)
The fix
The vendor patched the vulnerability, likely by adding a check to stop writing to a closed connection.
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.
This report describes a bug in a web server program called GoAhead. When the server receives a certain type of request (a form submission with file upload data) and the connection is closed early, the server gets stuck in a loop trying to send a response to the closed connection. This uses up all the CPU, which can slow down or stop the server from working properly.
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.