Peercast HTTP::getAuthUserPass() buffer overflow
| peercast-httpgetauthuserpass-bo (42092) |
Description:
Peercast is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the HTTP::getAuthUserPass() function when the authorization type is set to HTTP Basic. By sending a specially-crafted authentication request using an overly long HTTP Basic authentication string, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
Note: This vulnerability also affects GNOME PeerCast.
Platforms Affected:
- Debian, Debian Linux 4.0
- Gentoo, Linux
- GNOME, PeerCast 0.1217
- peercast.org, PeerCast 0.1218
Remedy:
No remedy available as of July 6, 2008.
Consequences:
Gain Access
References:
- Debian Bug report logs - #478573, [peercast] stack-based buffer overflow in HTTP::getAuthUserPass function at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478573.
- Debian Bug report logs - #478680, [gnome-peercast] CVE-2008-2040 stack-based buffer overflow in HTTP::getAuthUserPass function at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478680.
- PeerCast Web site, PeerCast P2P Broadcasting at http://www.peercast.org/.
- BID-28986: PeerCast 'getAuthUserPass' Multiple Buffer Overflow Vulnerabilities
- CVE-2008-2040: Stack-based buffer overflow in the HTTP::getAuthUserPass function (core/common/http.cpp) in Peercast 0.1218 and gnome-peercast allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a Basic Authentication string with a long (1) username or (2) password.
- DSA-1582: peercast -- buffer overflow
- DSA-1583: gnome-peercast -- buffer overflow
- FrSIRT/ADV-2008-1409: PeerCast HTTP::getAuthUserPass() Buffer Overflow Vulnerability
- FrSIRT/ADV-2008-1410: GNOME PeerCast getAuthUserPass Buffer Overflow Vulnerability
- GLSA-200807-11: PeerCast: Buffer overflow
- SA29962: PeerCast "HTTP::getAuthUserPass()" Buffer Overflow Vulnerability
- SA30020: GNOME PeerCast "HTTP::getAuthUserPass()" Buffer Overflow Vulnerability
Reported:
Apr 29, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
