Proxy service crash DoS
Sending certain crafted URLs to a proxy service appeared to crash it, giving a 502 Bad Gateway from nginx, presumably until restarted.
- Triaged in 21 hours
- Fixed in 8 days
- Disclosed after 8 days
Sending certain URLs to the proxy appears to crash the service, leading to a 502 Bad Gateway from nginx, presumably until the service is restarted. The following sequence sent in a short period appears to cause the crash (it could just be the javascript:confirm() request, as the last request receives the 502, but I can't re-test to be sure):
http://staging.fct.li/?url=data:text/html,Hello http://staging.fct.li/?url=data://text/html,Hello http://staging.fct.li/?url=data://staging.fct.li/ http://staging.fct.li/?url=javascript:confirm() http://staging.fct.li/?url=javascript:confirm("staging.fct.li")
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 proxy service does not properly handle certain URL schemes (data: and javascript:), causing it to crash.
Impact
The proxy service could be crashed, causing a denial of service until it is restarted.
What the attacker needed
Access to the proxy service
How it was found
- Send a request with a data: URL to the proxy.
- Send a request with a data: URL pointing to the proxy's own domain.
- Send a request with a javascript: URL that calls confirm().
- Send a request with a javascript: URL that calls confirm() with an argument.
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.
A proxy service fetches web content on behalf of users. By sending special URLs that the service mishandles, the service crashes and stops working, so legitimate users cannot use it until it is restarted. 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.