SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Multimedia)  >   Icecast Vendors:   Icecast.org
(Vendor Issues Patch) Re: Icecast MP3 Streaming Server Buffer Overflow Lets Remote Users Execute Arbitrary Code on the Server, Usually With Root Level Privileges
SecurityTracker Alert ID:  1003959
SecurityTracker URL:  http://securitytracker.com/id/1003959
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Apr 3 2002
Impact:   Execution of arbitrary code via network, Root access via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.3.11 and prior versions
Description:   A vulnerability was reported in the Icecast audio streaming server. A remote user can execute arbitrary code on the server, generally with root level permissions.

A remote user can reportedly trigger a buffer overflow in the Icecast server. This will apparently yield root level access if the Icecast server is run as root, as many users apparently do. Otherwise, this will apparently yield user-level access.

A remote user can create a specially crafted URL to trigger the overflow, which reportedly exists in the client_login() function. According to the report, another buffer overflow may also exist in the icecast extract_vars() function, as well as some libavl routines, but these have not been confirmed.

Demonstration exploit code is provided in the Source Message [it is Base64 encoded].

The vendor has reportedly been notified.

Impact:   A remote user can execute arbitrary code on the server with the privileges of the Icecast server.
Solution:   The vendor has issued a patch. The patch (ice-patch) is contained in the Source Message.
Vendor URL:  www.icecast.org/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Any), UNIX (Any)

Message History:   This archive entry is a follow-up to the message listed below.
Apr 3 2002 Icecast MP3 Streaming Server Buffer Overflow Lets Remote Users Execute Arbitrary Code on the Server, Usually With Root Level Privileges



 Source Message Contents

Subject:  Icecast temp patch (OR: Patches? We DO need stinkin' patches!!@$!)


--%--multipart-mixed-boundary-1.1430.1017866523--%
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This addresses the client_login() Icecast issue:

For those who have a burning need to 'patch < patch', or just don't
want to type three lines into client.c, I've attached a small
patch to client.c (Icecast 1.3.11).
Simplicity is thy name.
(More specific:  It's the suggested patch in the icx.c exploit, with
 an added logging flag.)

Thanks to Diz for making this public.

.Neeko Oni

--%--multipart-mixed-boundary-1.1430.1017866523--%
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: ASCII text
Content-Disposition: attachment; filename="ice-patch"

--- client.c    Wed Aug  1 16:06:53 2001
+++ src/client.c      Wed Apr  3 12:36:23 2002
@@ -103,6 +103,11 @@
 
        xa_debug(3, "Client login...\n");
 
+       if (strlen(expr) > 8000) { 
+               write_log(LOG_DEFAULT, "WARNING: expr greater than 8000--possible BOF attack?");
+       return;
+}
+
        if (!con || !expr) {
                write_log(LOG_DEFAULT, "WARNING: client_login called with NULL pointer");
                return;

--%--multipart-mixed-boundary-1.1430.1017866523--%--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC