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)

EPSS: 0.078 (94.0th percentile) — read the EPSS interpretation.

Affected products

  • Curl — versions 5.11, 6.0, 6.1beta
  • Curl Libcurl — versions 5.11, 7.12, 7.12.1
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2009-0037?
CVE-2009-0037 is a vulnerability in Curl, classified under Cross-Site Request Forgery (CSRF). Published 2009-03-05.
Is CVE-2009-0037 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.