Cache purge requests are not authenticated
The cache purge endpoint accepts unauthenticated PURGE requests, allowing anyone to invalidate cached resources. An attacker could cause increased bandwidth costs and potentially a denial of service.
Originally disclosed on HackerOne
- Disclosed after 20 hours
Summary:
Hello team, Anyone can issue a PURGE request for any resource and invalidate your caches. That can lead to increased bandwidth costs but also potential Denial of Service attacks.
Steps To Reproduce:
[add details for how we can reproduce the issue]
1.{Fundefined}
Unauthenticated cache purge request:
curl 'https://curl.se/' -X PURGE
{ "status": "ok", "id": "21729-1683784658-593921" }
2.{Fundefined}
Supporting Material/References:
[list any additional material (e.g. screenshots, logs, etc.)]
- [attachment / reference]
Impact
That can lead to increased bandwidth costs but also potential Denial of Service attacks
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 cache purge endpoint lacks authentication checks, allowing any client to send PURGE requests.
Impact
An attacker could cause increased bandwidth costs and potentially a denial of service by repeatedly purging caches.
What the attacker needed
None
How it was found
- Send a PURGE request to the target URL without authentication.
- Observe a successful response indicating the cache was purged.
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 cache stores copies of web pages so they load faster and reduce server load. This report found that anyone can send a special request to delete those copies without logging in. That forces the server to work harder and use more bandwidth, which could slow things down or cost more money.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.