FreeBSD : sudo -- format string vulnerability (7c920bb7-4b5f-11e1-9f47-00e0815b8da8)

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


Synopsis :

The remote FreeBSD host is missing a security-related update.

Description :

Todd Miller reports :

Sudo 1.8.0 introduced simple debugging support that was primarily
intended for use when developing policy or I/O logging plugins. The
sudo_debug() function contains a flaw where the program name is used
as part of the format string passed to the fprintf() function. The
program name can be controlled by the caller, either via a symbolic
link or, on some systems, by setting argv[0] when executing sudo.

Using standard format string vulnerability exploitation techniques it
is possible to leverage this bug to achieve root privileges.

Exploitation of the bug does not require that the attacker be listed
in the sudoers file. As such, we strongly suggest that affected sites
upgrade from affected sudo versions as soon as possible.

See also :

http://www.gratisoft.us/sudo/alerts/sudo_debug.html
http://www.nessus.org/u?0c6403d9

Solution :

Update the affected package.

Risk factor :

High / CVSS Base Score : 7.2
(CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C)
Public Exploit Available : true

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 57739 ()

Bugtraq ID:

CVE ID: CVE-2012-0809

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now