Is the 504 Gateway Time-out error ok?
A request to an authentication endpoint with a duplicated redirect_to parameter caused the server to hang and eventually return a 504 Gateway Time-out, while a single parameter returned quickly. The author suggests this could be used for denial of service, but no actual attack or impact is demonstrated.
Originally disclosed on HackerOne
- Disclosed after 46 hours
Link: https://infogram.com/api/merge/auth/google/?redirect_to=123&token=gulHMyL6-1H0Am4zXa4H7j0DWomPdnKPhZOk&redirect_to=123 it gives 504 after a long time! Is it normal? It can be used for DOS! I use two redirect_to= if I use just one redirect_to= it gives the response fastly! https://infogram.com/api/merge/auth/google/?redirect_to=123&token=gulHMyL6-1H0Am4zXa4H7j0DWomPdnKPhZOk
Impact
DOS?
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 mishandles duplicate parameters in a way that causes a long-running or stuck request.
Impact
The author claims this could be used for denial of service, but no actual denial of service is shown.
What the attacker needed
None
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 web server normally answers quickly. Here, adding the same parameter twice made the server take so long that it gave up and returned a timeout error. The author thinks an attacker could repeat this to overload the service, but they did not show that happening.
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.