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 (96.8th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.161 · newest: 0.161 · change: 0.000
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
- h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp (vendor-advisory)
- h20566.www2.hpe.com/hpsc/doc/public/display
- www.securitytracker.com/id/1032924 (vdb-entry)
- www.debian.org/security/2012/dsa-2398 (vendor-advisory)
- security.gentoo.org/glsa/glsa-201203-02.xml (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)