Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

Format String Vulnerability In Peercast 0.1211 And Earlier

Subject: Format String Vulnerability In Peercast 0.1211 And Earlier
Date: Sat, 28 May 2005 15:19:18 -0500
##########################################################
# GulfTech Security Research            May 28th, 2005
##########################################################
# Vendor  : peercast.org
# URL     : http://www.peercast.org/
# Version : Peercast 0.1211 And Earlier
# Risk    : Format String Vulnerability
##########################################################



Description:
Peercast is a popular p2p streaming media server (similar to
shoutcast). There is a serious security issue in peercast versions
0.1211 and earlier that may allow for an attacker to execute
arbitrary code on the remote target with the privileges of the user
running peercast (usually administrator) or crash the vulnerable
server. There is an updated version of peercast available and all
users should upgrade as soon as possible.



Format String Vulnerability:
There is a very dangerous format string issue in peercast that may
allow for an attacker to execute arbitrary code on the remote target
with the privileges of the user running peercast or crash the
vulnerable server. Below is an example of how this vulnerability can be
exploited to crash a vulnerable server.

http://localhost:7144/html/en/index.htm%n

The problem occurs because of the way some error messages are handled.
For example in the above example the peercast server receives a malformed
request, so the error routine printed the URL, but the error print
routine (because it was a printf type function call) then tries to parse
the malicious url.



Solution:
Thanks to Giles from Peercast for fixing this issue fast and releasing a
patch in just a few hours. Now that is a quick turn around!
http://www.peercast.org/forum/viewtopic.php?p=11596



Related Info:
The original advisory can be found at the following location
http://www.gulftech.org/?node=research&article_id=00077-05282005



Credits:
James Bercegay of the GulfTech Security Research Team

<Prev in Thread] Current Thread [Next in Thread>
  • Format String Vulnerability In Peercast 0.1211 And Earlier, GulfTech Security Research <=