Firefly Media Server webserver.c ws_addarg Function /xml-rpc Authorization Header Remote Format String

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


Synopsis :

The remote web server is affected by a format string vulnerability.

Description :

The remote host is running Firefly Media Server, also known as
mt-daapd, a media streaming server.

The version of Firefly Media Server installed on the remote host
apparently fails to sanitize user-supplied input before using it as
the format string in a call to 'vsnprintf'' in 'src/webserver.c'.
Using a specially crafted HTTP Authorization request header, an
unauthenticated, remote attacker can leverage this issue to crash the
affected service or to execute arbitrary code on the affected system,
subject to the privileges under which the service operates.

See also :

http://www.securityfocus.com/archive/1/483209/30/0/threaded
http://www.nessus.org/u?bd56a4e9

Solution :

Either disable the service or upgrade to Firefly Media Server 0.2.4.1
or later.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.2
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Gain a shell remotely

Nessus Plugin ID: 27619 (firefly_format_string.nasl)

Bugtraq ID: 26310

CVE ID: CVE-2007-5825