blob: e277cec83c5a2670dc34903a8a561524e31ab9fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200512-09">
<title>cURL: Off-by-one errors in URL handling</title>
<synopsis>
cURL is vulnerable to local arbitrary code execution via buffer overflow
due to the insecure parsing of URLs.
</synopsis>
<product type="ebuild">cURL</product>
<announced>2005-12-16</announced>
<revised>2005-12-16: 01</revised>
<bug>114710</bug>
<access>local</access>
<affected>
<package name="net-misc/curl" auto="yes" arch="*">
<unaffected range="ge">7.15.1</unaffected>
<vulnerable range="lt">7.15.1</vulnerable>
</package>
</affected>
<background>
<p>
cURL is a command line tool for transferring files with URL
syntax, supporting numerous protocols.
</p>
</background>
<description>
<p>
Stefan Esser from the Hardened-PHP Project has reported a
vulnerability in cURL that allows for a local buffer overflow when cURL
attempts to parse specially crafted URLs. The URL can be specially
crafted in one of two ways: the URL could be malformed in a way that
prevents a terminating null byte from being added to either a hostname
or path buffer; or the URL could contain a "?" separator in the
hostname portion, which causes a "/" to be prepended to the resulting
string.
</p>
</description>
<impact type="low">
<p>
An attacker capable of getting cURL to parse a maliciously crafted
URL could cause a denial of service or execute arbitrary code with the
privileges of the user making the call to cURL. An attacker could also
escape open_basedir or safe_mode pseudo-restrictions when exploiting
this problem from within a PHP program when PHP is compiled with
libcurl.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All cURL users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/curl-7.15.1"</code>
</resolution>
<references>
<uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4077">CVE-2005-4077</uri>
<uri link="https://www.hardened-php.net/advisory_242005.109.html">Hardened-PHP Advisory</uri>
</references>
<metadata tag="requester" timestamp="2005-12-14T13:39:33Z">
koon
</metadata>
<metadata tag="submitter" timestamp="2005-12-14T17:20:45Z">
shellsage
</metadata>
<metadata tag="bugReady" timestamp="2005-12-15T11:37:18Z">
koon
</metadata>
</glsa>
|