HexBrain

curl · Report #1994585

Cache purge requests are not authenticated

Informativestatus
mediumseverity
9upvotes
20 May 2023disclosed

How it was found

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.)]

Impact

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

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original