PeerCast: Buffer overflow

Security Team  Contact Address

Updated July 21, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200807-11 / peercast
Release Date July 21, 2008
Latest Revision July 21, 2008: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/peercast < 0.1218-r1 >= 0.1218-r1 All supported architectures

Related bugreports: #220281

Synopsis

A buffer overflow vulnerability in PeerCast may allow for the remote execution of arbitrary code.

2.  Impact Information

Background

PeerCast is a client and server for P2P-radio networks.

Description

Nico Golde reported a boundary error in the HTTP::getAuthUserPass() function when processing overly long HTTP Basic authentication requests.

Impact

A remote attacker could send a specially crafted HTTP request to the vulnerable server, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All PeerCast users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/peercast-0.1218-r1"

4.  References