Skip to content
Heist/ feed
Critical

Rob--W cors-anywhere Misconfigured CORS Proxy Allows SSRF

Type: advisorySource: Official CVE List1 source record

Rob--W cors-anywhere instances configured as an open proxy allow unauthenticated external users to induce the server to make HTTP requests to arbitrary targets (SSRF). Because the proxy forwards requests and headers, an attacker can reach internal-only endpoints and link-local metadata services, retrieve instance role credentials or other sensitive metadata, and interact with internal APIs and services that are not intended to be internet-facing. The vulnerability is exploitable by sending crafted requests to the proxy with the target resource encoded in the URL; many cors-anywhere deployments forward arbitrary methods and headers (including PUT), which can permit exploitation of IMDSv2 workflows as well as access to internal management APIs. Successful exploitation can result in theft of cloud credentials, unauthorized access to internal services, remote code execution or privilege escalation (depending on reachable backends), data exfiltration, and full compromise of cloud resources. Mitigation includes: restricting the proxy to trusted origins or authentication, whitelisting allowed target hosts, preventing access to link-local and internal IP ranges, removing support for unsafe HTTP methods/headers, enabling cloud provider mitigations, and deploying network-level protections.

Announced Group revision 1
Original source ↗

CVE-2020-36851

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2020-36851

Rob--W / cors-anywhere

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/Rob--W/cors-anywhere",
    "vendor": "Rob--W / cors-anywhere",
    "modules": [
      "Proxy forwarding / request forwarding component"
    ],
    "product": "Rob--W / cors-anywhere",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "0.4.4"
      }
    ],
    "packageURL": "pkg:npm/cors-anywhere",
    "packageName": "cors-anywhere",
    "defaultStatus": "unknown"
  }
]
Related CVEs
CVE-2020-36851

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#12585 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement