Gentoo: shoutcast Remote code execution
Posted by Joe Shakespeare   
Gentoo Shoutcast Server contains a possible buffer overflow that could lead to the execution of arbitrary code.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200501-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Shoutcast Server: Remote code execution
      Date: January 05, 2005
      Bugs: #75482
        ID: 200501-04

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Shoutcast Server contains a possible buffer overflow that could lead to
the execution of arbitrary code.

Background
==========

Shoutcast Server is Nullsoft's streaming audio server. It runs on a
variety of platforms, including Linux, and is extremely popular with
Internet broadcasters.

Affected packages
=================

    -------------------------------------------------------------------
     Package                           /   Vulnerable   /   Unaffected
    -------------------------------------------------------------------
  1  media-sound/shoutcast-server-bin      <= 1.9.4-r1        >= 1.9.5

Description
===========

Part of the Shoutcast Server Linux binary has been found to improperly
handle sprintf() parsing.

Impact
======

A malicious attacker could send a formatted URL request to the
Shoutcast Server. This formatted URL would cause either the server
process to crash, or the execution of arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Shoutcast Server users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-sound/shoutcast-server-bin-1.9.5"

References
==========

  [ 1 ] BugTraq Announcement
        http://www.securityfocus.com/archive/1/385350

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200501-04.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0