SQL Injection in Curl
CVE-2012-0036
curl and libcurl 7.2x before 7.24.0 do not properly consider special characters during extraction of a pathname from a URL, which allows remote attackers to conduct data-injection attacks via a crafted URL, as demonstrated by a CRLF injection attack on the (1) IMAP, (2) POP3, or (3) SMTP protocol.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/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.161, 97.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Curl — versions 7.20.0, 7.20.1, 7.21.0
- Curl Libcurl — versions 7.20.0, 7.20.1, 7.21.0
Weakness classification (CWE)
References
- www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- HPSBMU02786 (vendor-advisory)
- h20566.www2.hpe.com/hpsc/doc/public/display
- www.securitytracker.com/id/1032924 (vdb-entry)
- DSA-2398 (vendor-advisory)
- GLSA-201203-02 (vendor-advisory)
- www.securityfocus.com/bid/51665 (vdb-entry)
- secunia.com/advisories/48256 (third-party-advisory)
- curl.haxx.se/docs/adv_20120124.html (Vendor Advisory)
- curl.haxx.se/curl-url-sanitize.patch (Patch)