CVE-2005-4077 Information
Description
Multiple off-by-one errors in the cURL library (libcurl) 7.11.2 through 7.15.0 allow local users to trigger a buffer overflow and cause a denial of service or bypass PHP security restrictions via certain URLs that (1) are malformed in a way that prevents a terminating null byte from being added to either a hostname or path buffer or (2) contain a ?\ separator in the hostname portion which causes a /\ to be prepended to the resulting string.
Reference
ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.16/SCOSA-2006.16.txt
http://curl.haxx.se/docs/adv_20051207.html
http://curl.haxx.se/docs/adv_20051207.html
http://docs.info.apple.com/article.html?artnum=307562
http://lists.apple.com/archives/security-announce/2006/May/msg00003.html
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
http://qa.openoffice.org/issues/show_bug.cgi?id=59032
http://secunia.com/advisories/17907
http://secunia.com/advisories/17960
http://secunia.com/advisories/17961
http://secunia.com/advisories/17965
http://secunia.com/advisories/17977
http://secunia.com/advisories/18105
http://secunia.com/advisories/18188
http://secunia.com/advisories/18336
http://secunia.com/advisories/19261
http://secunia.com/advisories/19433
http://secunia.com/advisories/19457
http://secunia.com/advisories/20077
http://www.debian.org/security/2005/dsa-919
http://www.gentoo.org/security/en/glsa/glsa-200512-09.xml
http://www.gentoo.org/security/en/glsa/glsa-200603-25.xml
http://www.hardened-php.net/advisory_242005.109.html
http://www.mandriva.com/security/advisories?name=MDKSA-2005:224
http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00020.html
http://www.redhat.com/support/errata/RHSA-2005-875.html
http://www.securityfocus.com/archive/1/418849/100/0/threaded
20051207
Advisory
24/2005:
libcurl
URL
parsing
vulnerability
http://www.securityfocus.com/bid/15756
http://www.securityfocus.com/bid/17951
http://www.trustix.org/errata/2005/0072/
http://www.us-cert.gov/cas/techalerts/TA06-132A.html
http://www.vupen.com/english/advisories/2005/2791
http://www.vupen.com/english/advisories/2006/0960
http://www.vupen.com/english/advisories/2006/1779
http://www.vupen.com/english/advisories/2008/0924/references
https://oval.cisecurity.org/repository/search/definition/oval3Aorg.mitre.oval3Adef3A10855
https://usn.ubuntu.com/228-1/
Multiple
off-by-one
errors
in
the
cURL
library
(libcurl)
7.11.2
through
7.15.0
allow
local
users
to
trigger
a
buffer
overflow
and
cause
a
denial
of
service
or
bypass
PHP
security
restrictions
via
certain
URLs
that
(1)
are
malformed
in
a
way
that
prevents
a
terminating
null
byte
from
being
added
to
either
a
hostname
or
path
buffer
or
(2)
contain
a
?
separator
in
the
hostname
portion
which
causes
a
/
to
be
prepended
to
the
resulting
string.
cpe:2.3:a:daniel_stenberg:curl:7.11.2:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.12:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.12.1:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.12.2:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.12.3:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.13:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.13.1:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.13.2:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.14:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.14.1:::::::*
cpe:2.3:a:daniel_stenberg:curl:7.15:::::::*