Server-side cache poisoning leads to the http://my.dev.owox.com inaccessibility
A crafted URL caused the server to return a redirect to itself, creating an infinite loop that made the site inaccessible for all users. The researcher suspected cache poisoning or a proxy bug but was unsure of the exact cause.
- Fixed in 19 hours
- Disclosed after 7 days
Summary by the program
By using single specially crafted URL, it was possible to cause service inaccessibility for all users who will visit the site, as result of infinite redirect loop.
Summary by the researcher
I discovered an issue, when by using single specially crafted URL, it was possible to cause service inaccessibility for all users who will visit the site, as result of infinite redirect loop. I named it as cache poisoning in the report title, but honestly i have no idea what caused this behavior:) It could be cache or proxy bug. To ensure that problem exists, and site inaccessible not only for me, i checked it from the different IP addresses/proxies/Tor. Issue was discovered occasionally, upon checking for Open Redirects and was reported in a few minutes after discovery. Severity was set accordingly to CVSS3.
##POC
- Visit next link:
http://my.dev.owox.com//www.google.com/%2e%2e%2f
- my.dev.owox.com will become inaccessible to the all users with next response:
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Thu, 16 Nov 2017 21:05:45 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Location: http://my.dev.owox.com//www.google.com/%2e%2e%2f/
X-Frame-Options: SAMEORIGIN
and will go to the constant redirect loop for the any user who will visit the site.
The OWOX team fixed the issue very fast, i even thought that it was a false-positive (cuz i couldn't reproduce issue after 1hr), and self-closed the report:) Thanks to the team for the fast fix and great experience!
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 a caching or proxy misconfiguration that stored a redirect response pointing back to the same URL, causing an infinite loop.
Impact
The site became inaccessible to all users due to an infinite redirect loop, effectively causing a denial of service.
What the attacker needed
None
The fix
The issue was fixed by the OWOX team very quickly, though the exact fix is not described.
How it was found
- Visit the specially crafted URL on the target domain.
- Observe that the server responds with a redirect to the same URL with an added trailing slash.
- The site then enters an infinite redirect loop for any visitor.
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 can be tricked into sending visitors in a circle, so the page never loads. Here, one special link made the server tell every visitor to go to the same broken address, which then told them to go there again, forever. This is like a signpost that points to itself.
What is Cache bugs?
A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.