GLSA-200712-18 : Multi-Threaded DAAP Daemon: Multiple vulnerabilities

This script is Copyright (C) 2007-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200712-18
(Multi-Threaded DAAP Daemon: Multiple vulnerabilities)

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.

See also :

Solution :

All Multi-Threaded DAAP Daemon users should upgrade to the latest
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-sound/mt-daapd-'

Risk factor :

High / CVSS Base Score : 7.5
CVSS Temporal Score : 6.5
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 29815 (gentoo_GLSA-200712-18.nasl)

Bugtraq ID: 26310

CVE ID: CVE-2007-5824