Vulnerabilities > CVE-2007-0235 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Libgtop
Attack vector
LOCAL Attack complexity
HIGH Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL 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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (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.
Exploit-Db
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
NASL family SuSE Local Security Checks NASL id SUSE_LIBGTOP-2511.NASL description This update fixes a buffer overflow in libgtop last seen 2020-06-01 modified 2020-06-02 plugin id 29502 published 2007-12-13 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/29502 title SuSE 10 Security Update : libgtop (ZYPP Patch Number 2511) 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 last seen 2020-06-01 modified 2020-06-02 plugin id 24294 published 2007-02-09 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/24294 title Debian DSA-1255-1 : libgtop2 - buffer overflow 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 last seen 2020-06-01 modified 2020-06-02 plugin id 25877 published 2007-08-13 reporter This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/25877 title RHEL 4 : libgtop2 (RHSA-2007:0765) 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 last seen 2020-06-01 modified 2020-06-02 plugin id 60240 published 2012-08-01 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/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 last seen 2020-06-01 modified 2020-06-02 plugin id 27995 published 2007-11-10 reporter Ubuntu Security Notice (C) 2007-2019 Canonical, Inc. / NASL script (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/27995 title Ubuntu 5.10 / 6.06 LTS / 6.10 : libgtop2 vulnerability (USN-407-1) NASL family SuSE Local Security Checks NASL id SUSE9_11406.NASL description This update fixes a buffer overflow in libgtop last seen 2020-06-01 modified 2020-06-02 plugin id 41116 published 2009-09-24 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/41116 title SuSE9 Security Update : libgtop (YOU Patch Number 11406) 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 2020-06-01 modified 2020-06-02 plugin id 24638 published 2007-02-18 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/24638 title Mandrake Linux Security Advisory : libgtop2 (MDKSA-2007:023) NASL family SuSE Local Security Checks NASL id SUSE_LIBGTOP-2512.NASL description This update fixes a buffer overflow in libgtop last seen 2020-06-01 modified 2020-06-02 plugin id 27325 published 2007-10-17 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/27325 title openSUSE 10 Security Update : libgtop (libgtop-2512) 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 last seen 2020-06-01 modified 2020-06-02 plugin id 25849 published 2007-08-13 reporter This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/25849 title CentOS 4 : libgtop2 (CESA-2007:0765) 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 last seen 2020-06-01 modified 2020-06-02 plugin id 67555 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/67555 title Oracle Linux 4 : libgtop2 (ELSA-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 2020-06-01 modified 2020-06-02 plugin id 24253 published 2007-01-26 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/24253 title GLSA-200701-17 : libgtop: Privilege escalation NASL family Fedora Local Security Checks NASL id FEDORA_2007-657.NASL description - Thu Aug 2 2007 Soren Sandmann <sandmann at redhat.com> - 2.14.9-1 - BuildRequire gtk-doc, package documentation files in devel package - Thu Aug 2 2007 Soren Sandmann <sandmann at redhat.com> - 2.14.9-1 - Update to libgtop-2.14.9 for b.r.c 222637 CVE-2007-0235 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 25863 published 2007-08-13 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/25863 title Fedora Core 6 : libgtop2-2.14.9-1.fc6 (2007-657)
Oval
accepted | 2013-04-29T04:08:04.438-04:00 | ||||||||||||
class | vulnerability | ||||||||||||
contributors |
| ||||||||||||
definition_extensions |
| ||||||||||||
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 | 25 |
Redhat
advisories |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
rpms |
|
Statements
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 |
References
- http://bugzilla.gnome.org/show_bug.cgi?id=396477
- http://ftp.gnome.org/pub/gnome/sources/libgtop/2.14/libgtop-2.14.6.news
- http://osvdb.org/32815
- http://secunia.com/advisories/23736
- http://secunia.com/advisories/23777
- http://secunia.com/advisories/23814
- http://secunia.com/advisories/23840
- http://secunia.com/advisories/23872
- http://secunia.com/advisories/24015
- http://secunia.com/advisories/26367
- http://security.gentoo.org/glsa/glsa-200701-17.xml
- http://www.debian.org/security/2007/dsa-1255
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:023
- http://www.redhat.com/support/errata/RHSA-2007-0765.html
- http://www.securityfocus.com/bid/22054
- http://www.securitytracker.com/id?1018526
- http://www.ubuntu.com/usn/usn-407-1
- http://www.vupen.com/english/advisories/2007/0185
- http://www.vupen.com/english/advisories/2007/0187
- https://exchange.xforce.ibmcloud.com/vulnerabilities/31522
- https://issues.rpath.com/browse/RPL-972
- https://launchpad.net/bugs/79206
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10720