ID CVE-2007-0235
Summary Stack-based buffer overflow in the glibtop_get_proc_map_s function in libgtop before 2.14.6 (libgtop2) allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a process with a long filename that is mapped in its address space, which triggers the overflow in gnome-system-monitor.
References
Vulnerable Configurations
  • cpe:2.3:a:libgtop:libgtop:2.14.5
    cpe:2.3:a:libgtop:libgtop:2.14.5
CVSS
Base: 3.7 (as of 16-01-2007 - 14:35)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
LOCAL HIGH NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
exploit-db via4
description Libgtop2 Library Local Buffer Overflow Vulnerability. CVE-2007-0235. Dos exploit for linux platform
id EDB-ID:29458
last seen 2016-02-03
modified 2007-01-15
published 2007-01-15
reporter Liu Qishuai
source https://www.exploit-db.com/download/29458/
title Libgtop2 Library Local Buffer Overflow Vulnerability
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBGTOP-2511.NASL
    description This update fixes a buffer overflow in libgtop's glibtop_get_proc_map_s() function. (CVE-2007-0235)
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 29502
    published 2007-12-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=29502
    title SuSE 10 Security Update : libgtop (ZYPP Patch Number 2511)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2007-0765.NASL
    description An updated libgtop2 package that fixes a security issue and a functionality bug is now available for Red Hat Enterprise Linux 4. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The libgtop2 package contains a library for obtaining information about a running system, such as cpu, memory and disk usage; active processes; and PIDs. A flaw was found in the way libgtop2 handled long filenames mapped into the address space of a process. An attacker could execute arbitrary code on behalf of the user running gnome-system-monitor by executing a process and mapping a file with a specially crafted name into the processes' address space. (CVE-2007-0235) This update also fixes the following bug : * when a version of libgtop2 compiled to run on a 32-bit architecture was used to inspect a process running in 64-bit mode, it failed to report certain information regarding address space mapping correctly. All users of gnome-system-monitor are advised to upgrade to this updated libgtop2 package, which contains backported patches that resolve these issues.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 25849
    published 2007-08-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=25849
    title CentOS 4 : libgtop2 (CESA-2007:0765)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200701-17.NASL
    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.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 24253
    published 2007-01-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24253
    title GLSA-200701-17 : libgtop: Privilege escalation
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBGTOP-2512.NASL
    description This update fixes a buffer overflow in libgtop's glibtop_get_proc_map_s() function. (CVE-2007-0235)
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 27325
    published 2007-10-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27325
    title openSUSE 10 Security Update : libgtop (libgtop-2512)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2007-0765.NASL
    description From Red Hat Security Advisory 2007:0765 : An updated libgtop2 package that fixes a security issue and a functionality bug is now available for Red Hat Enterprise Linux 4. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The libgtop2 package contains a library for obtaining information about a running system, such as cpu, memory and disk usage; active processes; and PIDs. A flaw was found in the way libgtop2 handled long filenames mapped into the address space of a process. An attacker could execute arbitrary code on behalf of the user running gnome-system-monitor by executing a process and mapping a file with a specially crafted name into the processes' address space. (CVE-2007-0235) This update also fixes the following bug : * when a version of libgtop2 compiled to run on a 32-bit architecture was used to inspect a process running in 64-bit mode, it failed to report certain information regarding address space mapping correctly. All users of gnome-system-monitor are advised to upgrade to this updated libgtop2 package, which contains backported patches that resolve these issues.
    last seen 2019-02-21
    modified 2018-08-13
    plugin id 67555
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67555
    title Oracle Linux 4 : libgtop2 (ELSA-2007-0765)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2007-0765.NASL
    description An updated libgtop2 package that fixes a security issue and a functionality bug is now available for Red Hat Enterprise Linux 4. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The libgtop2 package contains a library for obtaining information about a running system, such as cpu, memory and disk usage; active processes; and PIDs. A flaw was found in the way libgtop2 handled long filenames mapped into the address space of a process. An attacker could execute arbitrary code on behalf of the user running gnome-system-monitor by executing a process and mapping a file with a specially crafted name into the processes' address space. (CVE-2007-0235) This update also fixes the following bug : * when a version of libgtop2 compiled to run on a 32-bit architecture was used to inspect a process running in 64-bit mode, it failed to report certain information regarding address space mapping correctly. All users of gnome-system-monitor are advised to upgrade to this updated libgtop2 package, which contains backported patches that resolve these issues.
    last seen 2019-02-21
    modified 2018-11-16
    plugin id 25877
    published 2007-08-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=25877
    title RHEL 4 : libgtop2 (RHSA-2007:0765)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1255.NASL
    description Liu Qishuai discovered that the GNOME gtop library performs insufficient sanitising when parsing the system's /proc table, which may lead to the execution of arbitrary code.
    last seen 2019-02-21
    modified 2018-08-09
    plugin id 24294
    published 2007-02-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24294
    title Debian DSA-1255-1 : libgtop2 - buffer overflow
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20070807_LIBGTOP2_ON_SL4_X.NASL
    description A flaw was found in the way libgtop2 handled long filenames mapped into the address space of a process. An attacker could execute arbitrary code on behalf of the user running gnome-system-monitor by executing a process and mapping a file with a specially crafted name into the processes' address space. (CVE-2007-0235) This update also fixes the following bug : - when a version of libgtop2 compiled to run on a 32-bit architecture was used to inspect a process running in 64-bit mode, it failed to report certain information regarding address space mapping correctly.
    last seen 2019-02-21
    modified 2019-01-07
    plugin id 60240
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60240
    title Scientific Linux Security Update : libgtop2 on SL4.x i386/x86_64
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-407-1.NASL
    description Liu Qishuai discovered a buffer overflow in the /proc parsing routines in libgtop. By creating and running a process in a specially crafted long path and tricking an user into running gnome-system-monitor, an attacker could exploit this to execute arbitrary code with the user's privileges. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 27995
    published 2007-11-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27995
    title Ubuntu 5.10 / 6.06 LTS / 6.10 : libgtop2 vulnerability (USN-407-1)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2007-023.NASL
    description Stack-based buffer overflow in the glibtop_get_proc_map_s function in libgtop before 2.14.6 (libgtop2) allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a process with a long filename that is mapped in its address space, which triggers the overflow in gnome-system-monitor. The updated packages have been patched to correct this problem.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 24638
    published 2007-02-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24638
    title Mandrake Linux Security Advisory : libgtop2 (MDKSA-2007:023)
  • NASL family SuSE Local Security Checks
    NASL id SUSE9_11406.NASL
    description This update fixes a buffer overflow in libgtop's glibtop_get_proc_map_s() function. (CVE-2007-0235)
    last seen 2019-02-21
    modified 2012-04-23
    plugin id 41116
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41116
    title SuSE9 Security Update : libgtop (YOU Patch Number 11406)
oval via4
accepted 2013-04-29T04:08:04.438-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
description Stack-based buffer overflow in the glibtop_get_proc_map_s function in libgtop before 2.14.6 (libgtop2) allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a process with a long filename that is mapped in its address space, which triggers the overflow in gnome-system-monitor.
family unix
id oval:org.mitre.oval:def:10720
status accepted
submitted 2010-07-09T03:56:16-04:00
title Stack-based buffer overflow in the glibtop_get_proc_map_s function in libgtop before 2.14.6 (libgtop2) allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a process with a long filename that is mapped in its address space, which triggers the overflow in gnome-system-monitor.
version 22
redhat via4
advisories
bugzilla
id 249884
title CVE-2007-0235 Stack overflow libgtop when pathname of mmap()-ed file is too long
oval
AND
  • comment Red Hat Enterprise Linux 4 is installed
    oval oval:com.redhat.rhsa:tst:20060016001
  • OR
    • AND
      • comment libgtop2 is earlier than 0:2.8.0-1.0.2
        oval oval:com.redhat.rhsa:tst:20070765002
      • comment libgtop2 is signed with Red Hat master key
        oval oval:com.redhat.rhsa:tst:20070765003
    • AND
      • comment libgtop2-devel is earlier than 0:2.8.0-1.0.2
        oval oval:com.redhat.rhsa:tst:20070765004
      • comment libgtop2-devel is signed with Red Hat master key
        oval oval:com.redhat.rhsa:tst:20070765005
rhsa
id RHSA-2007:0765
released 2007-08-07
severity Moderate
title RHSA-2007:0765: libgtop2 security update (Moderate)
rpms
  • libgtop2-0:2.8.0-1.0.2
  • libgtop2-devel-0:2.8.0-1.0.2
refmap via4
bid 22054
confirm
debian DSA-1255
gentoo GLSA-200701-17
mandriva MDKSA-2007:023
misc https://launchpad.net/bugs/79206
osvdb 32815
sectrack 1018526
secunia
  • 23736
  • 23777
  • 23814
  • 23840
  • 23872
  • 24015
  • 26367
ubuntu USN-407-1
vupen
  • ADV-2007-0185
  • ADV-2007-0187
xf libgtop2-glibtopbo(31522)
statements via4
contributor Joshua Bressers
lastmodified 2007-07-27
organization Red Hat
statement Not vulnerable. This issue did not affect the versions of libgtop as shipped with Red Hat Enterprise Linux 2.1 or 3. Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch. This flaw affects Red Hat Enterprise Linux 4 and is being tracked via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=249884
Last major update 07-03-2011 - 21:49
Published 16-01-2007 - 13:28
Last modified 10-10-2017 - 21:31
Back to Top