Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200512-09] cURL: Off-by-one errors in URL handling


Vulnerability Assessment Details

[GLSA-200512-09] cURL: Off-by-one errors in URL handling

Vulnerability Assessment Summary
cURL: Off-by-one errors in URL handling

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200512-09
(cURL: Off-by-one errors in URL handling)


Stefan Esser from the Hardened-PHP Project has reported a
vulnerability in cURL that permits 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.

Impact

A possible hacker capable of getting cURL to parse a maliciously crafted
URL could cause a denial of service or execute arbitrary code with the
rights of the user making the call to cURL. A possible hacker 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.

Workaround

There is no known workaround at this time.

References:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4077
http://www.hardened-php.net/advisory_242005.109.html


Solution:
All cURL users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/curl-7.15.1"


Network Security Threat Level: Low


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors


Apple Macintosh Plus 1MB M0001A Vintage Computer Boots Up / Floppy Disk Stuck picture

Apple Macintosh Plus 1MB M0001A Vintage Computer Boots Up / Floppy Disk Stuck

$99.99



Apple Macintosh Classic M1420 Vintage Desktop Computer Model Macintosh Classic picture

Apple Macintosh Classic M1420 Vintage Desktop Computer Model Macintosh Classic

$100.00



Vintage 1998 iMac G3 M4984 Mac OS + Keyboard Working but Needs Some Repair Read picture

Vintage 1998 iMac G3 M4984 Mac OS + Keyboard Working but Needs Some Repair Read

$295.00



Apple Power Macintosh PowerPC 7300/200 VTG w Keyboard Mouse Storage Drive Read picture

Apple Power Macintosh PowerPC 7300/200 VTG w Keyboard Mouse Storage Drive Read

$199.99



Macintosh MacTerminal M0521 Version 1.0. Vintage Apple software 1984 Sealed picture

Macintosh MacTerminal M0521 Version 1.0. Vintage Apple software 1984 Sealed

$129.99



Vintage 1992 Mac System 7.1P1 Apple Software 3.5” Floppy Disks NOS picture

Vintage 1992 Mac System 7.1P1 Apple Software 3.5” Floppy Disks NOS

$35.00



185--Sonnet Crescendo G3 PPCG3-375-5-K-06 G3 Add-On Card for Vintage Mac picture

185--Sonnet Crescendo G3 PPCG3-375-5-K-06 G3 Add-On Card for Vintage Mac

$90.00



Apple Macintosh Plus 1MB M0001A Vintage Computer - Works picture

Apple Macintosh Plus 1MB M0001A Vintage Computer - Works

$169.99



Mixed Lot Vintage Mac Windows media / Graphics / Sound Software - CDs 37 Pieces picture

Mixed Lot Vintage Mac Windows media / Graphics / Sound Software - CDs 37 Pieces

$40.99



Vintage Edmark TouchWindow for Macintosh DeskTop Computer Touch Window Never Usd picture

Vintage Edmark TouchWindow for Macintosh DeskTop Computer Touch Window Never Usd

$63.99



Discussions

No Discussions have been posted on this vulnerability.