portage-ng / portage / app-admin / logsurfer+ / 1.8-r6
portage-ng glsa
1 advisory reference app-admin/logsurfer+ · none place version 1.8-r6 in a vulnerable range
▸ GLSA 201201-04 Logsurfer: Arbitrary code execution this version unaffected normal remote 2012-01-20

A double-free flaw in Logsurfer allows a remote attacker to execute arbitrary code.

Announced
2012-01-20
Revised
2012-01-20
Access
remote
Bugs
#387397
Advisory
https://security.gentoo.org/glsa/201201-04

Affected packages

PackageArchVulnerableUnaffected
app-admin/logsurfer+*< 1.8>= 1.8

Background

Logsurfer is a real time log monitoring and analysis tool.

Description

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.

Resolution

All Logsurfer users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/logsurfer+-1.8"

References