Skip to content
Misconfiguration Disclosed report Beginner

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.

redx_cybersec Follow

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]

https://sapt.medium.com/apple-hall-of-fame-for-a-small-misconfiguration-unauth-cache-purging-faf81b19419b

Impact

That can lead to increased bandwidth costs but also potential Denial of Service attacks

The original report as published on HackerOne, by redx_cybersec. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Send a PURGE request to the target URL without authentication.
  2. 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.

More from curl

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.