GLSA-201201-04 : Logsurfer: Arbitrary code execution

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


Synopsis :

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

Description :

The remote host is affected by the vulnerability described in GLSA-201201-04
(Logsurfer: Arbitrary code execution)

Logsurfer log files may contain substrings used for executing external
commands. The prepare_exec() function in src/exec.c contains a
double-free vulnerability.

Impact :

A remote attacker could inject specially crafted strings into a log file
processed by Logsurfer, resulting in the execution of arbitrary code with
the permissions of the Logsurfer user.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201201-04.xml

Solution :

All Logsurfer users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-admin/logsurfer+-1.8'

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: Gentoo Local Security Checks

Nessus Plugin ID: 57630 ()

Bugtraq ID: 50171

CVE ID: CVE-2011-3626