GLSA 200712-18 Multi-Threaded DAAP Daemon: Multiple vulnerabilities
Posted on: 12/29/2007 05:20 PM

A new security update has been released for Gentoo Linux - Multi-Threaded DAAP Daemon: Multiple vulnerabilities. Here the announcement:

Gentoo Linux Security Advisory GLSA 200712-18
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: Multi-Threaded DAAP Daemon: Multiple vulnerabilities
Date: December 29, 2007
Bugs: #200110
ID: 200712-18

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

Synopsis
========

Multiple vulnerabilities in the web server in the Multi-Threaded DAAP
Daemon may lead to the remote execution of arbitrary code.

Background
==========

Multi-Threaded DAAP Daemon (mt-daapd), also known as the Firefly Media
Server, is a software to serve digital music to the Roku Soundbridge
and Apple's iTunes.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-sound/mt-daapd lt; 0.2.4.1 gt;= 0.2.4.1

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

nnp discovered multiple vulnerabilities in the XML-RPC handler in the
file webserver.c. The ws_addarg() function contains a format string
vulnerability, as it does not properly sanitize username and password
data from the "Authorization: Basic" HTTP header line (CVE-2007-5825).
The ws_decodepassword() and ws_getheaders() functions do not correctly
handle empty Authorization header lines, or header lines without a ':'
character, leading to NULL pointer dereferences (CVE-2007-5824).

Impact
======

A remote attacker could send specially crafted HTTP requests to the web
server in the Multi-Threaded DAAP Daemon, possibly leading to the
execution of arbitrary code with the privileges of the user running the
web server or a Denial of Service.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Multi-Threaded DAAP Daemon users should upgrade to the latest
version:

# emerge --sync
# emerge --ask --oneshot --verbose "gt;=media-sound/mt-daapd-0.2.4.1"

References
==========

[ 1 ] CVE-2007-5824
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5824
[ 2 ] CVE-2007-5825
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5825

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

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

http://security.gentoo.org/glsa/glsa-200712-18.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 2007 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.5



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/glsa_200712_18_multi_threaded_daap_daemon_multiple_vulnerabilities.html)