CSRF in Curl

CVE-2009-0037

The redirect implementation in curl and libcurl 5.11 through 7.19.3, when CURLOPT_FOLLOWLOCATION is enabled, accepts arbitrary Location values, which might allow remote HTTP servers to (1) trigger arbitrary requests to intranet servers, (2) read or overwrite arbitrary files via a redirect to a file: URL, or (3) execute arbitrary commands via a redirect to an scp: URL.

Vulnerability class: CSRF (Cross-Site Request Forgery)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.090, 95.4th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Curl — versions 5.11, 6.0, 6.1beta
  • Curl Libcurl — versions 5.11, 7.12, 7.12.1

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (Preetam/cwe). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References