CVE-2023-7078 Server-Side Request Forgery (SSRF) in Miniflare
An attacker on the local network can send arbitrary HTTP and WebSocket requests from the server if Miniflare listens on external interfaces.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-7078?
CVE-2023-7078 is a high-severity server-side request forgery vulnerability in Cloudflare miniflare, published on 29 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Sending specially crafted HTTP requests to Miniflare's server could result in arbitrary HTTP and WebSocket requests being sent from the server. If Miniflare was configured to listen on external network interfaces (as was the default in wrangler until 3.19.0), an attacker on the local network could access other local servers.
Weakness: CWE-918
Which versions are affected by CVE-2023-7078?
2 open source packages ship an affected version, including miniflare. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
miniflare npm | From 3.20230821.0 | 3.20231030.2 |
miniflare npm | From 3.20230821.0 | 3.20231030.2 |
Products include Cloudflare Miniflare.
How do I fix CVE-2023-7078?
Upgrade miniflare to 3.20231030.2 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2023-7078 being exploited?
There is no known exploitation of CVE-2023-7078 in the wild and no public exploit code.
Sources
Also known as GHSA-fwvg-2739-22v7.