Berlios gpsd gpsd_report() Function Format String

This script is Copyright (C) 2005-2011 Tenable Network Security, Inc.


Synopsis :

The remote host is running a GPS monitoring application that is
vulnerable to a format string attack.

Description :

The remote host is running GPSD, a daemon which monitors a GPS device
and publishes its data over the network.

The remote version of this software is vulnerable to format string attack
due to the way it uses the syslog() call. An attacker may exploit this flaw
to execute arbitrary code on the remote host.

See also :

http://archives.neohapsis.com/archives/fulldisclosure/2005-01/0770.html
http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg02103.html

Solution :

Upgrade to gpsd 2.8 or newer.

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.8
(CVSS2#E:F/RL:W/RC:ND)
Public Exploit Available : true

Family: Gain a shell remotely

Nessus Plugin ID: 16265 (gpsd_overflow.nasl)

Bugtraq ID: 12371

CVE ID: CVE-2004-1388