#VU32824 SQL injection in cURL - CVE-2012-0036


| Updated: 2020-07-28

Vulnerability identifier: #VU32824

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2012-0036

CWE-ID: CWE-89

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
cURL
Client/Desktop applications / Other client software

Vendor: curl.haxx.se

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

cURL: 7.2 - 7.23.1


External links
https://curl.haxx.se/curl-url-sanitize.patch
https://curl.haxx.se/docs/adv_20120124.html
https://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
https://lists.apple.com/archives/security-announce/2012/May/msg00001.html
https://secunia.com/advisories/48256
https://security.gentoo.org/glsa/glsa-201203-02.xml
https://support.apple.com/kb/HT5281
https://www.debian.org/security/2012/dsa-2398
https://www.mandriva.com/security/advisories?name=MDVSA-2012:058
https://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
https://www.securityfocus.com/bid/51665
https://www.securitytracker.com/id/1032924
https://bugzilla.redhat.com/show_bug.cgi?id=773457
https://github.com/bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03760en_us


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability