Miniflare External Interface HTTP/WebSocket Injection (prior 3.19.0)
CVE-2023-7078 Published on December 29, 2023
Server-Side Request Forgery (SSRF) in Miniflare
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.
Vulnerability Analysis
Weakness Type
What is a SSRF Vulnerability?
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy to conduct port scanning of hosts in internal networks, use other URLs such as that can access documents on the system (using file://), or use other protocols such as gopher:// or tftp://, which may provide greater control over the contents of requests.
CVE-2023-7078 has been classified to as a SSRF vulnerability or weakness.
Products Associated with CVE-2023-7078
Want to know whenever a new CVE is published for CloudFlare Miniflare? stack.watch will email you.
Affected Versions
Cloudflare miniflare:- <=3.20230821.0 is affected.
- Before 3.20231030.2 is affected.
- Version 3.20230821.0 and below 3.20231030.2 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2023-7078
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| npm | miniflare | >= 3.20230821.0, < 3.20231030.2 | 3.20231030.2 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.