GLSA-200701-17 : libgtop: Privilege escalation

low Nessus Plugin ID 24253

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-200701-17 (libgtop: Privilege escalation)

Liu Qishuai discovered that glibtop_get_proc_map_s() in sysdeps/linux/procmap.c does not properly allocate memory for storing a filename, allowing certain filenames to cause the buffer to overflow on the stack.
Impact :

By tricking a victim into executing an application that uses the libgtop library (e.g. libgtop_daemon or gnome-system-monitor), a local attacker could specify a specially crafted filename to be used by libgtop causing a buffer overflow and possibly execute arbitrary code with the rights of the user running the application.
Workaround :

There is no known workaround at this time.

Solution

All libgtop users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=gnome-base/libgtop-2.14.6'

See Also

https://security.gentoo.org/glsa/200701-17

Plugin Details

Severity: Low

ID: 24253

File Name: gentoo_GLSA-200701-17.nasl

Version: 1.15

Type: local

Published: 1/26/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Low

Base Score: 3.7

Vector: CVSS2#AV:L/AC:H/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libgtop, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 1/23/2007

Vulnerability Publication Date: 1/14/2007

Reference Information

CVE: CVE-2007-0235

CWE: 119

GLSA: 200701-17