Lucene search
K

Peercast < 0.1211 - Format String

🗓️ 28 May 2015 00:00:00Reported by GulfTech SecurityType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 42 Views

Peercast <=0.1211 Format String Vulnerability - Execute arbitrary code or crash server

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
PeerCast < 0.1212 URL Error Message Format String
31 May 200500:00
nessus
Tenable Nessus
GLSA-200506-15 : PeerCast: Format string vulnerability
20 Jun 200500:00
nessus
Tenable Nessus
PeerCast URL Error Message Format String
6 Jun 200500:00
nessus
Check Point Advisories
Peercast URL Format String Exploit Code Execution - Ver2 (CVE-2005-1806)
28 Dec 201400:00
checkpoint_advisories
CVE
CVE-2005-1806
1 Jun 200504:00
cve
Cvelist
CVE-2005-1806
1 Jun 200504:00
cvelist
exploitpack
Peercast 0.1211 - Format String
28 May 201500:00
exploitpack
Gentoo Linux
PeerCast: Format string vulnerability
19 Jun 200500:00
gentoo
NVD
CVE-2005-1806
28 May 200504:00
nvd
OpenVAS
Gentoo Security Advisory GLSA 200506-15 (peercast)
24 Sep 200800:00
openvas
Rows per page
Peercast Format String Vulnerability

Vendor: peercast.org
Product: Peercast
Version: <= 0.1211
Website: http://www.peercast.org/

BID: 13808 
CVE: CVE-2005-1806 
OSVDB: 16906 
SECUNIA: 15536 
PACKETSTORM: 39355 

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 


Credits:
James Bercegay of the GulfTech Security Research Team

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation