Web Cache Poisoning leading to DoS
The application caches responses influenced by the attacker-supplied Host header, so a request with a non-standard port poisons the cache. Visitors then get a page that makes many requests to that host and port, causing a denial of service.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 15 days
- Disclosed after 48 days
Summary:
acquisition-uat.gsa.gov is vulnerable to web cache poisoning that can lead to Denial of Service (DoS) in the application.
Steps To Reproduce:
- Visit https://acquisition-uat.gsa.gov/?letme=4449 to make sure the service is available.
Note: letme=4449 is used as cache buster as we do not want to poison the application without parameter.
2. Poison the link using curl command
curl https://acquisition-uat.gsa.gov/\?letme\=4447 -H "Host: acquisition-uat.gsa.gov:8888"
- Visit https://acquisition-uat.gsa.gov/?letme=4449 to verify that application is in the state of DoS as it attempts to make plenty of requests to
acquisition-uat.gsa.gov:8888.
Impact
The attacker can carry out web cache poisoning to prevent others from accessing the application.
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
Impact
The attacker can prevent other users from accessing the application by poisoning the cache.
What the attacker needed
No authentication needed; ability to send custom Host header
How it was found
- Visit the site with a cache-busting parameter to confirm it works.
- Send a request with a modified Host header to poison the cache.
- Visit the same URL again to see the denial of service.
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 cache stores copies of pages so they load faster for everyone. If an attacker can make the cache store a tampered page, every visitor gets that bad copy. Here the tampered page points to a wrong address, so the site stops working for normal users.
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.