portage-ng / portage / media-sound / mt-daapd / 0.2.4.2-r2
portage-ng glsa
1 advisory reference media-sound/mt-daapd · none place version 0.2.4.2-r2 in a vulnerable range
▸ GLSA 200712-18 Multi-Threaded DAAP Daemon: Multiple vulnerabilities this version unaffected high remote 2007-12-29

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

Announced
2007-12-29
Revised
2007-12-29
Access
remote
Bugs
#200110
Advisory
https://security.gentoo.org/glsa/200712-18

Affected packages

PackageArchVulnerableUnaffected
media-sound/mt-daapd*< 0.2.4.1>= 0.2.4.1

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.

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 ">=media-sound/mt-daapd-0.2.4.1"

References