ID CVE-2007-6454
Summary Heap-based buffer overflow in the handshakeHTTP function in servhs.cpp in PeerCast 0.1217 and earlier, and SVN 344 and earlier, allows remote attackers to cause a denial of service and possibly execute arbitrary code via a long SOURCE request.
References
Vulnerable Configurations
  • cpe:2.3:a:peercast:peercast:0.1211
    cpe:2.3:a:peercast:peercast:0.1211
  • cpe:2.3:a:peercast:peercast:0.1212
    cpe:2.3:a:peercast:peercast:0.1212
  • cpe:2.3:a:peercast:peercast:0.1215
    cpe:2.3:a:peercast:peercast:0.1215
  • cpe:2.3:a:peercast:peercast:0.1217
    cpe:2.3:a:peercast:peercast:0.1217
  • cpe:2.3:a:peercast:peercast:svn_344
    cpe:2.3:a:peercast:peercast:svn_344
CVSS
Base: 10.0 (as of 20-12-2007 - 11:46)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
exploit-db via4
description PeerCast 0.12 HandshakeHTTP Multiple Buffer Overflow Vulnerabilities. CVE-2007-6454. Dos exploit for linux platform
id EDB-ID:30894
last seen 2016-02-03
modified 2007-12-17
published 2007-12-17
reporter Luigi Auriemma
source https://www.exploit-db.com/download/30894/
title PeerCast 0.12 HandshakeHTTP Multiple Buffer Overflow Vulnerabilities
nessus via4
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200801-22.NASL
    description The remote host is affected by the vulnerability described in GLSA-200801-22 (PeerCast: Buffer overflow) Luigi Auriemma reported a heap-based buffer overflow within the 'handshakeHTTP()' function when processing HTTP requests. Impact : A remote attacker could send a specially crafted request to the vulnerable server, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the PeerCast server, usually 'nobody'. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 30139
    published 2008-02-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=30139
    title GLSA-200801-22 : PeerCast: Buffer overflow
  • NASL family Peer-To-Peer File Sharing
    NASL id PEERCAST_01218.NASL
    description The version of PeerCast installed on the remote host fails to check the length of user-supplied data in its 'handshakeHTTP' function in 'servhs.cpp' before copying it to the 'loginPassword' and 'loginMount' heap-based buffers. An unauthenticated attacker can leverage this issue to crash the affected application or execute arbitrary code on the remote host, subject to the privileges under which PeerCast operates.
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 29726
    published 2007-12-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=29726
    title PeerCast servhs.cpp handshakeHTTP Function SOURCE Request Remote Overflow
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1441.NASL
    description Luigi Auriemma discovered that PeerCast, a P2P audio and video streaming server, is vulnerable to a heap overflow in the HTTP server code, which allows remote attackers to cause a denial of service and possibly execute arbitrary code via a long SOURCE request.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 29808
    published 2007-12-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=29808
    title Debian DSA-1441-1 : peercast - buffer overflow
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_31435FBCAE7311DCA5F9001A4D49522B.NASL
    description Luigi Auriemma reports that peercast is vulnerable to a buffer overflow which could lead to a DoS or potentially remote code execution : The handshakeHTTP function which handles all the requests received by the other clients is vulnerable to a heap overflow which allows an attacker to fill the loginPassword and loginMount buffers located in the Servent class with how much data he wants.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 29770
    published 2007-12-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=29770
    title FreeBSD : peercast -- buffer overflow vulnerability (31435fbc-ae73-11dc-a5f9-001a4d49522b)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1583.NASL
    description Several remote vulnerabilities have been discovered in GNOME PeerCast, the GNOME interface to PeerCast, a P2P audio and video streaming server. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2007-6454 Luigi Auriemma discovered that PeerCast is vulnerable to a heap overflow in the HTTP server code, which allows remote attackers to cause a denial of service and possibly execute arbitrary code via a long SOURCE request. - CVE-2008-2040 Nico Golde discovered that PeerCast, a P2P audio and video streaming server, is vulnerable to a buffer overflow in the HTTP Basic Authentication code, allowing a remote attacker to crash PeerCast or execute arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 32405
    published 2008-05-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32405
    title Debian DSA-1583-1 : gnome-peercast - buffer overflow
refmap via4
bid 26899
bugtraq 20071217 Heap overflow in PeerCast 0.1217
confirm http://bugs.gentoo.org/show_bug.cgi?id=202747
debian
  • DSA-1441
  • DSA-1583
gentoo GLSA-200801-22
misc
secunia
  • 28120
  • 28260
  • 28719
  • 30325
sreason 3461
vupen ADV-2007-4246
xf peercast-handshakehttp-bo(39075)
Last major update 07-03-2011 - 22:02
Published 19-12-2007 - 19:46
Last modified 15-10-2018 - 17:54
Back to Top