Peercast procConnectArgs function buffer overflow
| peercast-url-bo (25113) |
Description:
Peercast is vulnerable to a stack-based buffer overflow, caused by improper bounds checking of the user supplied input by the procConnectArgs function in servmgr.cpp. By sending a specially-crafted HTTP GET request with an overly long parameter, a remote attacker could overflow a buffer and execute arbitrary code on the system.
Platforms Affected:
- Gentoo, Linux
- peercast.org, Peercast 0.1215 and prior
Remedy:
Upgrade to the latest version of Peercast (0.1217 or later), available from the Peercast Web site. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-03-17 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Gain Access
References:
- Bugtraq Mailing List, Thu Mar 09 2006 - 05:36:43 CST , INFIGO-2006-03-01: PeerCast streaming server remote buffer overflow at http://archives.neohapsis.com/archives/bugtraq/2006-02/0722.html.
- Peercast Web site, Peercast P2P Radio at http://www.peercast.org/.
- BID-17040: Peercast.org PeerCast Remote Buffer Overflow Vulnerability
- CVE-2006-1148: Multiple stack-based buffer overflows in the procConnectArgs function in servmgr.cpp in PeerCast before 0.1217 allow remote attackers to execute arbitrary code via an HTTP GET request with a long (1) parameter name or (2) value in a URL, which triggers the overflow in the nextCGIarg function in servhs.cpp.
- GLSA-200603-17: PeerCast: Buffer overflow
- OSVDB ID: 23777: PeerCast procConnectArgs() Function URL Handling Remote Overflow
- SA19169: PeerCast URL Handling Buffer Overflow Vulnerability
- VUPEN/ADV-2006-0900: PeerCast procConnectArgs and nextCGIarg Buffer Overflow Vulnerability
Reported:
Mar 09, 2006
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
