CVE-2009-0037
published 2009-03-05CVE-2009-0037: The redirect implementation in curl and libcurl 5.11 through 7.19.3, when CURLOPT_FOLLOWLOCATION is enabled, accepts arbitrary Location values, which might…
PriorityP342medium6.8CVSS 2.0
AVNACMAuNCPIPAP
EXPLOIT
EPSS
7.81%
93.9th percentile
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.
Affected
87 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
| curl | curl | — | — |
CVSS provenance
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv6.8MEDIUM
vendor_debian6.8MEDIUM
vendor_redhat6.8MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-jr23-52fg-m7rm: The redirect implementation in curl and libcurl 5
ghsa_unreviewed·2022-05-02
CVE-2009-0037 [MEDIUM] CWE-352 GHSA-jr23-52fg-m7rm: The redirect implementation in curl and libcurl 5
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.
OSV
CVE-2009-0037: The redirect implementation in curl and libcurl 5
osv·2009-03-05·CVSS 6.8
CVE-2009-0037 [MEDIUM] CVE-2009-0037: The redirect implementation in curl and libcurl 5
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.
VMware
ESX Service Console updates for udev, sudo, and curl
vendor_vmware·2009-07-10·CVSS 7.2
CVE-2009-0034 [HIGH] ESX Service Console updates for udev, sudo, and curl
VMSA-2009-0009: ESX Service Console updates for udev, sudo, and curl
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. The following table lists what action remediates the vulnerability (column 4) if a solution is available. VMware Product Product Version Running on Replace with/ Apply Patch VMware Product VirtualCenter Product Version any Running on Windows Replace with/ Apply Patch not affected VMware Product hosted * Product Version any Runn
Red Hat
curl: local file access via unsafe redirects
vendor_redhat·2009-03-03·CVSS 6.8
CVE-2009-0037 [MEDIUM] curl: local file access via unsafe redirects
curl: local file access via unsafe redirects
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.
Ubuntu
curl vulnerability
vendor_ubuntu·2009-03-03
CVE-2009-0037 curl vulnerability
Title: curl vulnerability
Summary: curl vulnerability
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 abitrary
files. This update changes curl behavior to prevent following "file" URLs after
a redirect.
Instructions: In general, a standard system upgrade is sufficient to effect the
necessary changes.
Debian
CVE-2009-0037: curl - The redirect implementation in curl and libcurl 5.11 through 7.19.3, when CURLOP...
vendor_debian·2009·CVSS 6.8
CVE-2009-0037 [MEDIUM] CVE-2009-0037: curl - The redirect implementation in curl and libcurl 5.11 through 7.19.3, when CURLOP...
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.
Scope: local
bookworm: resolved (fixed in 7.18.2-8.1)
bullseye: resolved (fixed in 7.18.2-8.1)
forky: resolved (fixed in 7.18.2-8.1)
sid: resolved (fixed in 7.18.2-8.1)
trixie: resolved (fixed in 7.18.2-8.1)
No detection rules found.
Bugzilla
CVE-2009-3956 acroread: script injection vulnerability (APSB10-02)
bugzilla·2010-01-11·CVSS 10.0
CVE-2009-3956 [CRITICAL] CVE-2009-3956 acroread: script injection vulnerability (APSB10-02)
CVE-2009-3956 acroread: script injection vulnerability (APSB10-02)
Adobe Security Bulletin for Adobe Reader and Acrobat APSB10-02 fixes following security flaw:
This update mitigates a script injection vulnerability by changing the Enhanced Security default (CVE-2009-3956).
Discussion:
Public now via:
http://www.adobe.com/support/security/bulletins/apsb10-02.html
---
This issue has been addressed in following products:
Extras for Red Hat Enterprise Linux 5
Via RHSA-2010:0037 https://rhn.redhat.com/errata/RHSA-2010-0037.html
---
This issue has been addressed in following products:
Extras for RHEL 4
Via RHSA-2010:0038 https://rhn.redhat.com/errata/RHSA-2010-0038.html
---
This issue has been addressed in following products:
Extras for RHEL 3
Via RHSA-2010:0060 https://rhn.redh
Bugzilla
CVE-2009-0037 curl: local file access via unsafe redirects
bugzilla·2009-02-12·CVSS 6.8
CVE-2009-0037 [MEDIUM] CVE-2009-0037 curl: local file access via unsafe redirects
CVE-2009-0037 curl: local file access via unsafe redirects
When handling automatic redirects, libcurl does not differentiate between different target URLS, and will follow to any new URL that it understands. This includes the "file://" URL type, so a remote server can force a local libcurl-using application to read a local file instead of the remote one. This can lead to these applications exposing local files they are not meant to expose.
Discussion:
This issue affects RHEL2.1, RHEL3, RHEL4, RHEL5, Fedora 9, and Fedora 10.
Affected versions: curl and libcurl 5.11(!) to and including 7.19.3
Not affected versions: curl and libcurl 5.10 and earlier, 7.19.4 and later
---
Patch backports for various curl versions:
CVS HEAD: http://curl.haxx.se/CVE-2009-0037/curl-CVSHEAD-CVE-2009-0037.pa
CWE
Unintended Proxy or Intermediary ('Confused Deputy')
mitre_cwe
CWE-441 Unintended Proxy or Intermediary ('Confused Deputy')
CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.
If an attacker cannot directly contact a target, but the product has access to the target, then the attacker can send a request to the product and have it be forwarded to the target. The request would appear to be coming from the product's system, not the attacker's system. As a result, the attacke
CWE
Server-Side Request Forgery (SSRF)
mitre_cwe
CWE-918 Server-Side Request Forgery (SSRF)
CWE-918: Server-Side Request Forgery (SSRF)
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Modes of Introduction:
Phase: Architecture and Design
Phase: Implementation
Common Consequences:
Scope: Confidentiality. Impact: Read Application Data.
Scope: Integrity. Impact: Execute Unauthorized Code or Commands.
Scope: Access Control. Impact: Bypass Protection Mechanism. By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy
http://curl.haxx.se/docs/adv_20090303.htmlhttp://curl.haxx.se/lxr/source/CHANGEShttp://lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlhttp://lists.opensuse.org/opensuse-security-announce/2009-03/msg00001.htmlhttp://lists.vmware.com/pipermail/security-announce/2009/000060.htmlhttp://secunia.com/advisories/34138http://secunia.com/advisories/34202http://secunia.com/advisories/34237http://secunia.com/advisories/34251http://secunia.com/advisories/34255http://secunia.com/advisories/34259http://secunia.com/advisories/34399http://secunia.com/advisories/35766http://security.gentoo.org/glsa/glsa-200903-21.xmlhttp://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.476602http://support.apple.com/kb/HT4077http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0042http://www.debian.org/security/2009/dsa-1738http://www.redhat.com/support/errata/RHSA-2009-0341.htmlhttp://www.securityfocus.com/archive/1/501757/100/0/threadedhttp://www.securityfocus.com/archive/1/504849/100/0/threadedhttp://www.securityfocus.com/bid/33962http://www.securitytracker.com/id?1021783http://www.ubuntu.com/usn/USN-726-1http://www.vmware.com/security/advisories/VMSA-2009-0009.htmlhttp://www.vupen.com/english/advisories/2009/0581http://www.vupen.com/english/advisories/2009/1865http://www.withdk.com/2009/03/03/curllibcurl-redirect-arbitrary-file-access/http://www.withdk.com/archives/Libcurl_arbitrary_file_access.pdfhttps://exchange.xforce.ibmcloud.com/vulnerabilities/49030https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11054https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6074http://curl.haxx.se/docs/adv_20090303.htmlhttp://curl.haxx.se/lxr/source/CHANGEShttp://lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlhttp://lists.opensuse.org/opensuse-security-announce/2009-03/msg00001.htmlhttp://lists.vmware.com/pipermail/security-announce/2009/000060.htmlhttp://secunia.com/advisories/34138http://secunia.com/advisories/34202http://secunia.com/advisories/34237http://secunia.com/advisories/34251http://secunia.com/advisories/34255http://secunia.com/advisories/34259http://secunia.com/advisories/34399http://secunia.com/advisories/35766http://security.gentoo.org/glsa/glsa-200903-21.xmlhttp://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.476602http://support.apple.com/kb/HT4077http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0042http://www.debian.org/security/2009/dsa-1738http://www.redhat.com/support/errata/RHSA-2009-0341.htmlhttp://www.securityfocus.com/archive/1/501757/100/0/threadedhttp://www.securityfocus.com/archive/1/504849/100/0/threadedhttp://www.securityfocus.com/bid/33962http://www.securitytracker.com/id?1021783http://www.ubuntu.com/usn/USN-726-1http://www.vmware.com/security/advisories/VMSA-2009-0009.htmlhttp://www.vupen.com/english/advisories/2009/0581http://www.vupen.com/english/advisories/2009/1865http://www.withdk.com/2009/03/03/curllibcurl-redirect-arbitrary-file-access/http://www.withdk.com/archives/Libcurl_arbitrary_file_access.pdfhttps://exchange.xforce.ibmcloud.com/vulnerabilities/49030https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11054https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6074
2009-03-05
Published