ID CVE-2009-0037
Summary 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
Vulnerable Configurations
  • cpe:2.3:a:curl:curl:5.11
    cpe:2.3:a:curl:curl:5.11
  • cpe:2.3:a:curl:curl:6.0
    cpe:2.3:a:curl:curl:6.0
  • cpe:2.3:a:curl:curl:6.1beta
    cpe:2.3:a:curl:curl:6.1beta
  • cpe:2.3:a:curl:curl:6.2
    cpe:2.3:a:curl:curl:6.2
  • cpe:2.3:a:curl:curl:6.3
    cpe:2.3:a:curl:curl:6.3
  • cpe:2.3:a:curl:curl:6.3.1
    cpe:2.3:a:curl:curl:6.3.1
  • cpe:2.3:a:curl:curl:6.4
    cpe:2.3:a:curl:curl:6.4
  • cpe:2.3:a:curl:curl:6.5
    cpe:2.3:a:curl:curl:6.5
  • cpe:2.3:a:curl:curl:6.5.1
    cpe:2.3:a:curl:curl:6.5.1
  • cpe:2.3:a:curl:curl:6.5.2
    cpe:2.3:a:curl:curl:6.5.2
  • cpe:2.3:a:curl:curl:7.1
    cpe:2.3:a:curl:curl:7.1
  • cpe:2.3:a:curl:curl:7.1.1
    cpe:2.3:a:curl:curl:7.1.1
  • cpe:2.3:a:curl:curl:7.2
    cpe:2.3:a:curl:curl:7.2
  • cpe:2.3:a:curl:curl:7.2.1
    cpe:2.3:a:curl:curl:7.2.1
  • cpe:2.3:a:curl:curl:7.3
    cpe:2.3:a:curl:curl:7.3
  • cpe:2.3:a:curl:curl:7.4
    cpe:2.3:a:curl:curl:7.4
  • cpe:2.3:a:curl:curl:7.4.1
    cpe:2.3:a:curl:curl:7.4.1
  • cpe:2.3:a:curl:curl:7.4.2
    cpe:2.3:a:curl:curl:7.4.2
  • cpe:2.3:a:curl:curl:7.5
    cpe:2.3:a:curl:curl:7.5
  • cpe:2.3:a:curl:curl:7.5.1
    cpe:2.3:a:curl:curl:7.5.1
  • cpe:2.3:a:curl:curl:7.5.2
    cpe:2.3:a:curl:curl:7.5.2
  • cpe:2.3:a:curl:curl:7.6
    cpe:2.3:a:curl:curl:7.6
  • cpe:2.3:a:curl:curl:7.6.1
    cpe:2.3:a:curl:curl:7.6.1
  • cpe:2.3:a:curl:curl:7.7
    cpe:2.3:a:curl:curl:7.7
  • cpe:2.3:a:curl:curl:7.7.1
    cpe:2.3:a:curl:curl:7.7.1
  • cpe:2.3:a:curl:curl:7.7.2
    cpe:2.3:a:curl:curl:7.7.2
  • cpe:2.3:a:curl:curl:7.7.3
    cpe:2.3:a:curl:curl:7.7.3
  • cpe:2.3:a:curl:curl:7.8
    cpe:2.3:a:curl:curl:7.8
  • cpe:2.3:a:curl:curl:7.8.1
    cpe:2.3:a:curl:curl:7.8.1
  • cpe:2.3:a:curl:curl:7.8.2
    cpe:2.3:a:curl:curl:7.8.2
  • cpe:2.3:a:curl:curl:7.9
    cpe:2.3:a:curl:curl:7.9
  • cpe:2.3:a:curl:curl:7.9.1
    cpe:2.3:a:curl:curl:7.9.1
  • cpe:2.3:a:curl:curl:7.9.2
    cpe:2.3:a:curl:curl:7.9.2
  • cpe:2.3:a:curl:curl:7.9.3
    cpe:2.3:a:curl:curl:7.9.3
  • cpe:2.3:a:curl:curl:7.9.4
    cpe:2.3:a:curl:curl:7.9.4
  • cpe:2.3:a:curl:curl:7.9.5
    cpe:2.3:a:curl:curl:7.9.5
  • cpe:2.3:a:curl:curl:7.9.6
    cpe:2.3:a:curl:curl:7.9.6
  • cpe:2.3:a:curl:curl:7.9.7
    cpe:2.3:a:curl:curl:7.9.7
  • cpe:2.3:a:curl:curl:7.9.8
    cpe:2.3:a:curl:curl:7.9.8
  • cpe:2.3:a:curl:curl:7.10
    cpe:2.3:a:curl:curl:7.10
  • cpe:2.3:a:curl:curl:7.10.1
    cpe:2.3:a:curl:curl:7.10.1
  • cpe:2.3:a:curl:curl:7.10.2
    cpe:2.3:a:curl:curl:7.10.2
  • cpe:2.3:a:curl:curl:7.10.3
    cpe:2.3:a:curl:curl:7.10.3
  • cpe:2.3:a:curl:curl:7.10.4
    cpe:2.3:a:curl:curl:7.10.4
  • cpe:2.3:a:curl:curl:7.10.5
    cpe:2.3:a:curl:curl:7.10.5
  • cpe:2.3:a:curl:curl:7.10.6
    cpe:2.3:a:curl:curl:7.10.6
  • cpe:2.3:a:curl:curl:7.10.7
    cpe:2.3:a:curl:curl:7.10.7
  • cpe:2.3:a:curl:curl:7.10.8
    cpe:2.3:a:curl:curl:7.10.8
  • cpe:2.3:a:curl:curl:7.11.1
    cpe:2.3:a:curl:curl:7.11.1
  • cpe:2.3:a:curl:curl:7.12
    cpe:2.3:a:curl:curl:7.12
  • cpe:2.3:a:curl:curl:7.12.1
    cpe:2.3:a:curl:curl:7.12.1
  • cpe:2.3:a:curl:curl:7.12.2
    cpe:2.3:a:curl:curl:7.12.2
  • cpe:2.3:a:curl:curl:7.13
    cpe:2.3:a:curl:curl:7.13
  • cpe:2.3:a:curl:curl:7.13.2
    cpe:2.3:a:curl:curl:7.13.2
  • cpe:2.3:a:curl:curl:7.14
    cpe:2.3:a:curl:curl:7.14
  • cpe:2.3:a:curl:curl:7.14.1
    cpe:2.3:a:curl:curl:7.14.1
  • cpe:2.3:a:curl:curl:7.15
    cpe:2.3:a:curl:curl:7.15
  • cpe:2.3:a:curl:curl:7.15.1
    cpe:2.3:a:curl:curl:7.15.1
  • cpe:2.3:a:curl:curl:7.15.3
    cpe:2.3:a:curl:curl:7.15.3
  • cpe:2.3:a:curl:curl:7.16.3
    cpe:2.3:a:curl:curl:7.16.3
  • cpe:2.3:a:curl:curl:7.16.4
    cpe:2.3:a:curl:curl:7.16.4
  • cpe:2.3:a:curl:curl:7.17
    cpe:2.3:a:curl:curl:7.17
  • cpe:2.3:a:curl:curl:7.18
    cpe:2.3:a:curl:curl:7.18
  • cpe:2.3:a:curl:curl:7.19.3
    cpe:2.3:a:curl:curl:7.19.3
  • cpe:2.3:a:curl:libcurl:5.11
    cpe:2.3:a:curl:libcurl:5.11
  • cpe:2.3:a:curl:libcurl:7.12
    cpe:2.3:a:curl:libcurl:7.12
  • cpe:2.3:a:curl:libcurl:7.12.1
    cpe:2.3:a:curl:libcurl:7.12.1
  • cpe:2.3:a:curl:libcurl:7.12.2
    cpe:2.3:a:curl:libcurl:7.12.2
  • cpe:2.3:a:curl:libcurl:7.12.3
    cpe:2.3:a:curl:libcurl:7.12.3
  • cpe:2.3:a:curl:libcurl:7.13
    cpe:2.3:a:curl:libcurl:7.13
  • cpe:2.3:a:curl:libcurl:7.13.1
    cpe:2.3:a:curl:libcurl:7.13.1
  • cpe:2.3:a:curl:libcurl:7.13.2
    cpe:2.3:a:curl:libcurl:7.13.2
  • cpe:2.3:a:curl:libcurl:7.14
    cpe:2.3:a:curl:libcurl:7.14
  • cpe:2.3:a:curl:libcurl:7.14.1
    cpe:2.3:a:curl:libcurl:7.14.1
  • cpe:2.3:a:curl:libcurl:7.15
    cpe:2.3:a:curl:libcurl:7.15
  • cpe:2.3:a:curl:libcurl:7.15.1
    cpe:2.3:a:curl:libcurl:7.15.1
  • cpe:2.3:a:curl:libcurl:7.15.2
    cpe:2.3:a:curl:libcurl:7.15.2
  • cpe:2.3:a:curl:libcurl:7.15.3
    cpe:2.3:a:curl:libcurl:7.15.3
  • cpe:2.3:a:curl:libcurl:7.16.3
    cpe:2.3:a:curl:libcurl:7.16.3
  • cpe:2.3:a:curl:libcurl:7.19.3
    cpe:2.3:a:curl:libcurl:7.19.3
CVSS
Base: 6.8 (as of 05-03-2009 - 10:14)
Impact:
Exploitability:
CWE CWE-352
CAPEC
  • JSON Hijacking (aka JavaScript Hijacking)
    An attacker targets a system that uses JavaScript Object Notation (JSON) as a transport mechanism between the client and the server (common in Web 2.0 systems using AJAX) to steal possibly confidential information transmitted from the server back to the client inside the JSON object by taking advantage of the loophole in the browser's Same Origin Policy that does not prohibit JavaScript from one website to be included and executed in the context of another website. An attacker gets the victim to visit his or her malicious page that contains a script tag whose source points to the vulnerable system with a URL that requests a response from the server containing a JSON object with possibly confidential information. The malicious page also contains malicious code to capture the JSON object returned by the server before any other processing on it can take place, typically by overriding the JavaScript function used to create new objects. This hook allows the malicious code to get access to the creation of each object and transmit the possibly sensitive contents of the captured JSON object to the attackers' server. There is nothing in the browser's security model to prevent the attackers' malicious JavaScript code (originating from attacker's domain) to set up an environment (as described above) to intercept a JSON object response (coming from the vulnerable target system's domain), read its contents and transmit to the attackers' controlled site. The same origin policy protects the domain object model (DOM), but not the JSON.
  • Cross-Domain Search Timing
    An attacker initiates cross domain HTTP / GET requests and times the server responses. The timing of these responses may leak important information on what is happening on the server. Browser's same origin policy prevents the attacker from directly reading the server responses (in the absence of any other weaknesses), but does not prevent the attacker from timing the responses to requests that the attacker issued cross domain. For GET requests an attacker could for instance leverage the "img" tag in conjunction with "onload() / onerror()" javascript events. For the POST requests, an attacker could leverage the "iframe" element and leverage the "onload()" event. There is nothing in the current browser security model that prevents an attacker to use these methods to time responses to the attackers' cross domain requests. The timing for these responses leaks information. For instance, if a victim has an active session with their online e-mail account, an attacker could issue search requests in the victim's mailbox. While the attacker is not able to view the responses, based on the timings of the responses, the attacker could ask yes / no questions as to the content of victim's e-mails, who the victim e-mailed, when, etc. This is but one example; There are other scenarios where an attacker could infer potentially sensitive information from cross domain requests by timing the responses while asking the right questions that leak information.
  • Cross Site Identification
    An attacker harvests identifying information about a victim via an active session that the victim's browser has with a social networking site. A victim may have the social networking site open in one tab or perhaps is simply using the "remember me" feature to keep his or her session with the social networking site active. An attacker induces a payload to execute in the victim's browser that transparently to the victim initiates a request to the social networking site (e.g., via available social network site APIs) to retrieve identifying information about a victim. While some of this information may be public, the attacker is able to harvest this information in context and may use it for further attacks on the user (e.g., spear phishing). In one example of an attack, an attacker may post a malicious posting that contains an image with an embedded link. The link actually requests identifying information from the social networking site. A victim who views the malicious posting in his or her browser will have sent identifying information to the attacker, as long as the victim had an active session with the social networking site. There are many other ways in which the attacker may get the payload to execute in the victim's browser mainly by finding a way to hide it in some reputable site that the victim visits. The attacker could also send the link to the victim in an e-mail and trick the victim into clicking on the link. This attack is basically a cross site request forgery attack with two main differences. First, there is no action that is performed on behalf of the user aside from harvesting information. So standard CSRF protection may not work in this situation. Second, what is important in this attack pattern is the nature of the data being harvested, which is identifying information that can be obtained and used in context. This real time harvesting of identifying information can be used as a prelude for launching real time targeted social engineering attacks on the victim.
  • Cross Site Request Forgery (aka Session Riding)
    An attacker crafts malicious web links and distributes them (via web pages, email, etc.), typically in a targeted manner, hoping to induce users to click on the link and execute the malicious action against some third-party application. If successful, the action embedded in the malicious link will be processed and accepted by the targeted application with the users' privilege level. This type of attack leverages the persistence and implicit trust placed in user session cookies by many web applications today. In such an architecture, once the user authenticates to an application and a session cookie is created on the user's system, all following transactions for that session are authenticated using that cookie including potential actions initiated by an attacker and simply "riding" the existing session cookie.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
exploit-db via4
description cURL/libcURL 7.19.3 HTTP 'Location:' Redirect Security Bypass Vulnerability. CVE-2009-0037. Remote exploit for linux platform
id EDB-ID:32834
last seen 2016-02-03
modified 2009-03-03
published 2009-03-03
reporter David Kierznowski
source https://www.exploit-db.com/download/32834/
title cURL/libcURL <= 7.19.3 HTTP 'Location:' Redirect Security Bypass Vulnerability
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_CURL-090317.NASL
    description Arbitrary file access via HTTP-redirect has been fixed in curl. CVE-2009-0037 has been assigned to this issue.
    last seen 2018-09-01
    modified 2013-10-25
    plugin id 41378
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41378
    title SuSE 11 Security Update : curl (SAT Patch Number 634)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_CURL-6004.NASL
    description Arbitrary file access via HTTP-redirect has been fixed in curl. CVE-2009-0037 has been assigned to this issue.
    last seen 2018-09-01
    modified 2014-06-13
    plugin id 35758
    published 2009-03-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35758
    title openSUSE 10 Security Update : curl (curl-6004)
  • NASL family SuSE Local Security Checks
    NASL id SUSE9_12356.NASL
    description Arbitrary file access via HTTP-redirect has been fixed in curl. CVE-2009-0037 has been assigned to this issue.
    last seen 2018-09-01
    modified 2012-04-23
    plugin id 41280
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41280
    title SuSE9 Security Update : curl (YOU Patch Number 12356)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_1_CURL-090217.NASL
    description Arbitrary file access via HTTP-redirect has been fixed in curl. CVE-2009-0037 has been assigned to this issue.
    last seen 2018-09-02
    modified 2014-06-13
    plugin id 40208
    published 2009-07-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=40208
    title openSUSE Security Update : curl (curl-530)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_COMPAT-CURL2-6408.NASL
    description This update of libcurl2 fixes the 0-character handling in the subject name of a SSL certificate. This bug could be used to execute an undetected man-in-the-middle-attack. (CVE-2009-2417) Additionally the arbitrary file access problem was fixed. (CVE-2009-0037)
    last seen 2019-02-21
    modified 2016-12-22
    plugin id 41489
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41489
    title SuSE 10 Security Update : compat-curl2 (ZYPP Patch Number 6408)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_0_CURL-090217.NASL
    description Arbitrary file access via HTTP-redirect has been fixed in curl. CVE-2009-0037 has been assigned to this issue.
    last seen 2018-09-01
    modified 2014-06-13
    plugin id 39945
    published 2009-07-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=39945
    title openSUSE Security Update : curl (curl-530)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2009-0341.NASL
    description Updated curl packages that fix a security issue are now available for Red Hat Enterprise Linux 2.1, 3, 4, and 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict servers, using any of the supported protocols. cURL is designed to work without user interaction or any kind of interactivity. David Kierznowski discovered a flaw in libcurl where it would not differentiate between different target URLs when handling automatic redirects. This caused libcurl to follow any new URL that it understood, including the 'file://' URL type. This could allow a remote server to force a local libcurl-using application to read a local file instead of the remote one, possibly exposing local files that were not meant to be exposed. (CVE-2009-0037) Note: Applications using libcurl that are expected to follow redirects to 'file://' protocol must now explicitly call curl_easy_setopt(3) and set the newly introduced CURLOPT_REDIR_PROTOCOLS option as required. cURL users should upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using libcurl must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 35971
    published 2009-03-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35971
    title RHEL 2.1 / 3 / 4 / 5 : curl (RHSA-2009:0341)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2009-0341.NASL
    description From Red Hat Security Advisory 2009:0341 : Updated curl packages that fix a security issue are now available for Red Hat Enterprise Linux 2.1, 3, 4, and 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict servers, using any of the supported protocols. cURL is designed to work without user interaction or any kind of interactivity. David Kierznowski discovered a flaw in libcurl where it would not differentiate between different target URLs when handling automatic redirects. This caused libcurl to follow any new URL that it understood, including the 'file://' URL type. This could allow a remote server to force a local libcurl-using application to read a local file instead of the remote one, possibly exposing local files that were not meant to be exposed. (CVE-2009-0037) Note: Applications using libcurl that are expected to follow redirects to 'file://' protocol must now explicitly call curl_easy_setopt(3) and set the newly introduced CURLOPT_REDIR_PROTOCOLS option as required. cURL users should upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using libcurl must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 67821
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67821
    title Oracle Linux 3 / 4 / 5 : curl (ELSA-2009-0341)
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2009-069-01.NASL
    description New curl packages are available for Slackware 9.1, 10.0, 10.1, 10.2, 11.0, 12.0, 12.1, 12.2, and -current to fix a security issue.
    last seen 2019-02-21
    modified 2018-06-27
    plugin id 35825
    published 2009-03-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35825
    title Slackware 10.0 / 10.1 / 10.2 / 11.0 / 12.0 / 12.1 / 12.2 / 9.1 / current : curl (SSA:2009-069-01)
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SECUPD2010-002.NASL
    description The remote host is running a version of Mac OS X 10.5 that does not have Security Update 2010-002 applied. This security update contains fixes for the following products : - AppKit - Application Firewall - AFP Server - Apache - ClamAV - CoreTypes - CUPS - curl - Cyrus IMAP - Cyrus SASL - Disk Images - Directory Services - Event Monitor - FreeRADIUS - FTP Server - iChat Server - Image RAW - Libsystem - Mail - Mailman - OS Services - Password Server - perl - PHP - PS Normalizer - Ruby - Server Admin - SMB - Tomcat - unzip - vim - Wiki Server - X11 - xar
    last seen 2019-02-21
    modified 2018-07-16
    plugin id 45373
    published 2010-03-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=45373
    title Mac OS X Multiple Vulnerabilities (Security Update 2010-002)
  • NASL family VMware ESX Local Security Checks
    NASL id VMWARE_VMSA-2009-0009.NASL
    description a. Service Console package udev A vulnerability in the udev program did not verify whether a NETLINK message originates from kernel space, which allows local users to gain privileges by sending a NETLINK message from user space. The Common Vulnerabilities and Exposures Project (cve.mitre.org) has assigned the name CVE-2009-1185 to this issue. Please see http://kb.vmware.com/kb/1011786 for details. b. Service Console package sudo Service Console package for sudo has been updated to version sudo-1.6.9p17-3. This fixes the following issue: Sudo versions 1.6.9p17 through 1.6.9p19 do not properly interpret a system group in the sudoers file during authorization decisions for a user who belongs to that group, which might allow local users to leverage an applicable sudoers file and gain root privileges by using a sudo command. The Common Vulnerabilities and Exposures Project (cve.mitre.org) has assigned the name CVE-2009-0034 to this issue. Please see http://kb.vmware.com/kb/1011781 for more details c. Service Console package curl Service Console package for curl has been updated to version curl-7.15.5-2.1. This fixes the following issue: 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 trigger arbitrary requests to intranet servers, read or overwrite arbitrary files by using a redirect to a file: URL, or execute arbitrary commands by using a redirect to an scp: URL. The Common Vulnerabilities and Exposures Project (cve.mitre.org) has assigned the name CVE-2009-0037 to this issue. Please see http://kb.vmware.com/kb/1011782 for details
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 52011
    published 2011-02-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=52011
    title VMSA-2009-0009 : ESX Service Console updates for udev, sudo, and curl
  • NASL family Misc.
    NASL id VMWARE_VMSA-2009-0009_REMOTE.NASL
    description The remote VMware ESX host is missing a security-related patch. It is, therefore, affected by multiple vulnerabilities : - A flaw exists in sudo in file parse.c due to a failure to properly interpret a system group (%group) in the sudoers configuration file when handling authorization decisions for users belonging to that group. A local attacker can exploit this to gain root privileges via a crafted sudo command. (CVE-2009-0034) - A flaw exists in the redirect implementation in libcurl that allows arbitrary Location values to be accepted when CURLOPT_FOLLOWLOCATION is enabled. An attacker with control of a remote HTTP server can exploit this, via crafted redirect URLs, to trigger requests to intranet servers, to read or write arbitrary files, or to execute arbitrary commands. (CVE-2009-0037) - A flaw exists in udev due to a failure to verify that a NETLINK message originates from the kernel space. A local attacker can exploit this, via a crafted NETLINK message, to gain elevated privileges on the root file system. (CVE-2009-1185)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 89115
    published 2016-03-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=89115
    title VMware ESX Multiple Vulnerabilities (VMSA-2009-0009) (remote check)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2009-2265.NASL
    description Update to curl-7.19.4 fixes CVE-2009-0037. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 35782
    published 2009-03-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35782
    title Fedora 9 : curl-7.19.4-1.fc9 (2009-2265)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-726-1.NASL
    description It was discovered that curl did not enforce any restrictions when following URL redirects. If a user or automated system were tricked into opening a URL to an untrusted server, an attacker could use redirects to gain access to arbitrary files. This update changes curl behavior to prevent following 'file' URLs after a redirect. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 37148
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=37148
    title Ubuntu 6.06 LTS / 7.10 / 8.04 LTS / 8.10 : curl vulnerability (USN-726-1)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2009-0341.NASL
    description Updated curl packages that fix a security issue are now available for Red Hat Enterprise Linux 2.1, 3, 4, and 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict servers, using any of the supported protocols. cURL is designed to work without user interaction or any kind of interactivity. David Kierznowski discovered a flaw in libcurl where it would not differentiate between different target URLs when handling automatic redirects. This caused libcurl to follow any new URL that it understood, including the 'file://' URL type. This could allow a remote server to force a local libcurl-using application to read a local file instead of the remote one, possibly exposing local files that were not meant to be exposed. (CVE-2009-0037) Note: Applications using libcurl that are expected to follow redirects to 'file://' protocol must now explicitly call curl_easy_setopt(3) and set the newly introduced CURLOPT_REDIR_PROTOCOLS option as required. cURL users should upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using libcurl must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 35965
    published 2009-03-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35965
    title CentOS 3 / 4 : curl (CESA-2009:0341)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1738.NASL
    description David Kierznowski discovered that libcurl, a multi-protocol file transfer library, when configured to follow URL redirects automatically, does not question the new target location. As libcurl also supports file:// and scp:// URLs - depending on the setup - an untrusted server could use that to expose local files, overwrite local files or even execute arbitrary code via a malicious URL redirect. This update introduces a new option called CURLOPT_REDIR_PROTOCOLS which by default does not include the scp and file protocol handlers.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 35908
    published 2009-03-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35908
    title Debian DSA-1738-1 : curl - arbitrary file access
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20090319_CURL_ON_SL3_X.NASL
    description David Kierznowski discovered a flaw in libcurl where it would not differentiate between different target URLs when handling automatic redirects. This caused libcurl to follow any new URL that it understood, including the 'file://' URL type. This could allow a remote server to force a local libcurl-using application to read a local file instead of the remote one, possibly exposing local files that were not meant to be exposed. (CVE-2009-0037) Note: Applications using libcurl that are expected to follow redirects to 'file://' protocol must now explicitly call curl_easy_setopt(3) and set the newly introduced CURLOPT_REDIR_PROTOCOLS option as required. All running applications using libcurl must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 60548
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60548
    title Scientific Linux Security Update : curl on SL3.x, SL4.x, SL5.x i386/x86_64
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-726-2.NASL
    description USN-726-1 fixed a vulnerability in curl. Due to an incomplete fix, a regression was introduced in Ubuntu 8.10 that caused certain types of URLs to fail. This update fixes the problem. We apologize for the inconvenience. It was discovered that curl did not enforce any restrictions when following URL redirects. If a user or automated system were tricked into opening a URL to an untrusted server, an attacker could use redirects to gain access to arbitrary files. This update changes curl behavior to prevent following 'file' URLs after a redirect. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 36478
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36478
    title Ubuntu 8.10 : curl regression (USN-726-2)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2009-2247.NASL
    description Update to curl-7.19.4 fixes CVE-2009-0037. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 36748
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36748
    title Fedora 10 : curl-7.19.4-1.fc10 (2009-2247)
  • NASL family Web Servers
    NASL id HPSMH_7_0_0_24.NASL
    description According to the web server's banner, the version of HP System Management Homepage (SMH) hosted on the remote host is earlier than 7.0. As such, it is reportedly affected by the following vulnerabilities : - An error exists in the 'generate-id' function in the bundled libxslt library that can allow disclosure of heap memory addresses. (CVE-2011-0195) - An unspecified input validation error exists and can allow cross-site request forgery attacks. (CVE-2011-3846) - Unspecified errors can allow attackers to carry out denial of service attacks via unspecified vectors. (CVE-2012-0135, CVE-2012-1993) - The bundled version of PHP contains multiple vulnerabilities. (CVE-2010-3436, CVE-2010-4409, CVE-2010-4645, CVE-2011-1148, CVE-2011-1153, CVE-2011-1464, CVE-2011-1467, CVE-2011-1468, CVE-2011-1470, CVE-2011-1471, CVE-2011-1938, CVE-2011-2202, CVE-2011-2483, CVE-2011-3182, CVE-2011-3189, CVE-2011-3267, CVE-2011-3268) - The bundled version of Apache contains multiple vulnerabilities. (CVE-2010-1452, CVE-2010-1623, CVE-2010-2068, CVE-2010-2791, CVE-2011-0419, CVE-2011-1928, CVE-2011-3192, CVE-2011-3348, CVE-2011-3368, CVE-2011-3639) - OpenSSL libraries are contained in several of the bundled components and contain multiple vulnerabilities. (CVE-2011-0014, CVE-2011-1468, CVE-2011-1945, CVE-2011-3207,CVE-2011-3210) - Curl libraries are contained in several of the bundled components and contain multiple vulnerabilities. (CVE-2009-0037, CVE-2010-0734, CVE-2011-2192)
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 58811
    published 2012-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58811
    title HP System Management Homepage < 7.0 Multiple Vulnerabilities
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_5D433534F41C402EADE5E0A2259A7CB6.NASL
    description Secunia reports : The security issue is caused due to cURL following HTTP Location : redirects to e.g. scp:// or file:// URLs which can be exploited by a malicious HTTP server to overwrite or disclose the content of arbitrary local files and potentially execute arbitrary commands via specially crafted redirect URLs.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 35770
    published 2009-03-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35770
    title FreeBSD : curl -- cURL/libcURL Location: Redirect URLs Security Bypass (5d433534-f41c-402e-ade5-e0a2259a7cb6)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_CURL-6015.NASL
    description Arbitrary file access via HTTP-redirect has been fixed in curl. CVE-2009-0037 has been assigned to this issue.
    last seen 2018-09-02
    modified 2012-05-17
    plugin id 41496
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41496
    title SuSE 10 Security Update : curl (ZYPP Patch Number 6015)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2009-069.NASL
    description A security vulnerability has been identified and fixed in curl, which could 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 (CVE-2009-0037). The updated packages have been patched to prevent this.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 36751
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36751
    title Mandriva Linux Security Advisory : curl (MDVSA-2009:069)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200903-21.NASL
    description The remote host is affected by the vulnerability described in GLSA-200903-21 (cURL: Arbitrary file access) David Kierznowski reported that the redirect implementation accepts arbitrary Location values when CURLOPT_FOLLOWLOCATION is enabled. Impact : A remote attacker could possibly exploit this vulnerability to make remote HTTP servers trigger arbitrary requests to intranet servers and read or overwrite arbitrary files via a redirect to a file: URL, or, if the libssh2 USE flag is enabled, execute arbitrary commands via a redirect to an scp: URL. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 35819
    published 2009-03-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35819
    title GLSA-200903-21 : cURL: Arbitrary file access
oval via4
  • accepted 2013-04-29T04:11:09.282-04:00
    class vulnerability
    contributors
    • name Aharon Chernin
      organization SCAP.com, LLC
    • name Dragos Prisaca
      organization G2, Inc.
    definition_extensions
    • comment The operating system installed on the system is Red Hat Enterprise Linux 3
      oval oval:org.mitre.oval:def:11782
    • comment CentOS Linux 3.x
      oval oval:org.mitre.oval:def:16651
    • comment The operating system installed on the system is Red Hat Enterprise Linux 4
      oval oval:org.mitre.oval:def:11831
    • comment CentOS Linux 4.x
      oval oval:org.mitre.oval:def:16636
    • comment Oracle Linux 4.x
      oval oval:org.mitre.oval:def:15990
    • comment The operating system installed on the system is Red Hat Enterprise Linux 5
      oval oval:org.mitre.oval:def:11414
    • comment The operating system installed on the system is CentOS Linux 5.x
      oval oval:org.mitre.oval:def:15802
    • comment Oracle Linux 5.x
      oval oval:org.mitre.oval:def:15459
    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.
    family unix
    id oval:org.mitre.oval:def:11054
    status accepted
    submitted 2010-07-09T03:56:16-04:00
    title 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.
    version 24
  • accepted 2014-01-20T04:01:24.325-05:00
    class vulnerability
    contributors
    • name Michael Wood
      organization Hewlett-Packard
    • name Michael Wood
      organization Hewlett-Packard
    • name J. Daniel Brown
      organization DTCC
    • name Chris Coffin
      organization The MITRE Corporation
    definition_extensions
    comment VMware ESX Server 4.0 is installed
    oval oval:org.mitre.oval:def:6293
    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.
    family unix
    id oval:org.mitre.oval:def:6074
    status accepted
    submitted 2009-09-22T15:10:44.000-05:00
    title cURL/libcURL HTTP 'Location:' Redirect Security Bypass Vulnerability
    version 10
redhat via4
advisories
bugzilla
id 485271
title CVE-2009-0037 curl: local file access via unsafe redirects
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 3 is installed
      oval oval:com.redhat.rhba:tst:20070026001
    • OR
      • AND
        • comment curl is earlier than 0:7.10.6-9.rhel3
          oval oval:com.redhat.rhsa:tst:20090341002
        • comment curl is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20090341003
      • AND
        • comment curl-devel is earlier than 0:7.10.6-9.rhel3
          oval oval:com.redhat.rhsa:tst:20090341004
        • comment curl-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20090341005
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • OR
      • AND
        • comment curl is earlier than 0:7.12.1-11.1.el4_7.1
          oval oval:com.redhat.rhsa:tst:20090341007
        • comment curl is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20090341003
      • AND
        • comment curl-devel is earlier than 0:7.12.1-11.1.el4_7.1
          oval oval:com.redhat.rhsa:tst:20090341008
        • comment curl-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20090341005
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment curl is earlier than 0:7.15.5-2.1.el5_3.4
          oval oval:com.redhat.rhsa:tst:20090341010
        • comment curl is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20090341011
      • AND
        • comment curl-devel is earlier than 0:7.15.5-2.1.el5_3.4
          oval oval:com.redhat.rhsa:tst:20090341012
        • comment curl-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20090341013
rhsa
id RHSA-2009:0341
released 2009-03-19
severity Moderate
title RHSA-2009:0341: curl security update (Moderate)
rpms
  • curl-0:7.10.6-9.rhel3
  • curl-devel-0:7.10.6-9.rhel3
  • curl-0:7.12.1-11.1.el4_7.1
  • curl-devel-0:7.12.1-11.1.el4_7.1
  • curl-0:7.15.5-2.1.el5_3.4
  • curl-devel-0:7.15.5-2.1.el5_3.4
refmap via4
apple APPLE-SA-2010-03-29-1
bid 33962
bugtraq
  • 20090312 rPSA-2009-0042-1 curl
  • 20090711 VMSA-2009-0009 ESX Service Console updates for udev, sudo, and curl
confirm
debian DSA-1738
gentoo GLSA-200903-21
misc
mlist [Security-announce] 20090710 VMSA-2009-0009 ESX Service Console updates for udev, sudo, and curl
sectrack 1021783
secunia
  • 34138
  • 34202
  • 34237
  • 34251
  • 34255
  • 34259
  • 34399
  • 35766
slackware SSA:2009-069-01
suse SUSE-SR:2009:006
ubuntu USN-726-1
vupen
  • ADV-2009-0581
  • ADV-2009-1865
xf curl-location-security-bypass(49030)
Last major update 21-08-2010 - 01:29
Published 04-03-2009 - 21:30
Last modified 11-10-2018 - 16:59
Back to Top