ID CVE-2011-4355
Summary GNU Project Debugger (GDB) before 7.5, when .debug_gdb_scripts is defined, automatically loads certain files from the current working directory, which allows local users to gain privileges via crafted files such as Python scripts.
References
Vulnerable Configurations
  • cpe:2.3:a:gnu:gdb:6.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:6.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:6.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:5.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:5.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:6.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:5.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:5.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:6.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:6.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:6.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:5.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:4.18:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:4.18:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:5.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:7.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:7.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:5.0:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:5.0:*:*:*:*:*:*:*
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6.7.1a:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:6.7a:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:6.7a:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:6.8a:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:6.8a:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:7.0.1a:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:7.0.1a:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:7.0a:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:7.0a:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:7.1a:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:7.1a:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:7.3a:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:7.3a:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gdb:7.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:gdb:7.4.1:*:*:*:*:*:*:*
CVSS
Base: 6.9 (as of 13-02-2023 - 00:21)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:M/Au:N/C:C/I:C/A:C
redhat via4
advisories
bugzilla
id 836966
title Backport gdb fix to handle identical binaries via additional build-id symlinks
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 6 is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • OR
      • AND
        • comment gdb is earlier than 0:7.2-60.el6
          oval oval:com.redhat.rhsa:tst:20130522001
        • comment gdb is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130522002
      • AND
        • comment gdb-gdbserver is earlier than 0:7.2-60.el6
          oval oval:com.redhat.rhsa:tst:20130522003
        • comment gdb-gdbserver is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20130522004
rhsa
id RHSA-2013:0522
released 2013-02-20
severity Moderate
title RHSA-2013:0522: gdb security and bug fix update (Moderate)
rpms
  • gdb-0:7.2-60.el6
  • gdb-debuginfo-0:7.2-60.el6
  • gdb-gdbserver-0:7.2-60.el6
refmap via4
confirm http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/src/gdb/NEWS?content-type=text/x-cvsweb-markup&cvsroot=src
mlist
  • [gdb-patches] 20110429 Re: [RFA] Add $pdir as entry for libthread-db-search-path.
  • [gdb-patches] 20110506 Re: [RFA] Add $pdir as entry for libthread-db-search-path.
sectrack 1028191
Last major update 13-02-2023 - 00:21
Published 05-03-2013 - 21:38
Last modified 13-02-2023 - 00:21
Back to Top