CVE-2009-0037

MEDIUM

Description

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.

References

http://curl.haxx.se/docs/adv_20090303.html

http://curl.haxx.se/lxr/source/CHANGES

http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html

http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00001.html

http://lists.vmware.com/pipermail/security-announce/2009/000060.html

http://secunia.com/advisories/34138

http://secunia.com/advisories/34202

http://secunia.com/advisories/34237

http://secunia.com/advisories/34251

http://secunia.com/advisories/34255

http://secunia.com/advisories/34259

http://secunia.com/advisories/34399

http://secunia.com/advisories/35766

http://security.gentoo.org/glsa/glsa-200903-21.xml

http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.476602

http://support.apple.com/kb/HT4077

http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0042

http://www.debian.org/security/2009/dsa-1738

http://www.redhat.com/support/errata/RHSA-2009-0341.html

http://www.securityfocus.com/archive/1/501757/100/0/threaded

http://www.securityfocus.com/archive/1/504849/100/0/threaded

http://www.securityfocus.com/bid/33962

http://www.securitytracker.com/id?1021783

http://www.ubuntu.com/usn/USN-726-1

http://www.vmware.com/security/advisories/VMSA-2009-0009.html

http://www.vupen.com/english/advisories/2009/0581

http://www.vupen.com/english/advisories/2009/1865

http://www.withdk.com/2009/03/03/curllibcurl-redirect-arbitrary-file-access/

http://www.withdk.com/archives/Libcurl_arbitrary_file_access.pdf

https://exchange.xforce.ibmcloud.com/vulnerabilities/49030

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11054

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6074

Details

Source: MITRE

Published: 2009-03-05

Updated: 2018-10-11

Type: CWE-352

Risk Information

CVSS v2.0

Base Score: 6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM