ID CVE-2011-0727
Summary GNOME Display Manager (gdm) 2.x before 2.32.1 allows local users to change the ownership of arbitrary files via a symlink attack on a (1) dmrc or (2) face icon file under /var/cache/gdm/.
References
Vulnerable Configurations
  • cpe:2.3:a:gnome:gdm:2.0:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.6:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.8:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.8:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.13:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.13:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.14:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.14:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.15:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.15:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.16:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.16:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.17:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.17:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.18:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.18:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.19:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.19:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.20:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.20:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.21:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.21:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.22:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.22:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.23:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.23:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.24:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.24:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.25:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.25:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.26:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.26:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.27:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.27:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.28:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.28:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.29:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.29:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.30:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.30:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.31:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.31:*:*:*:*:*:*:*
  • cpe:2.3:a:gnome:gdm:2.32:*:*:*:*:*:*:*
    cpe:2.3:a:gnome:gdm:2.32:*:*:*:*:*:*:*
CVSS
Base: 6.9 (as of 17-08-2017 - 01:33)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
  • Accessing, Modifying or Executing Executable 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.
  • 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. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating 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.
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 688323
title CVE-2011-0727 gdm: privilege escalation vulnerability
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhba:tst:20111656001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhba:tst:20111656002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhba:tst:20111656003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhba:tst:20111656004
  • OR
    • AND
      • comment gdm is earlier than 1:2.30.4-21.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110395005
      • comment gdm is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110395006
    • AND
      • comment gdm-libs is earlier than 1:2.30.4-21.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110395007
      • comment gdm-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110395008
    • AND
      • comment gdm-plugin-fingerprint is earlier than 1:2.30.4-21.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110395009
      • comment gdm-plugin-fingerprint is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110395010
    • AND
      • comment gdm-plugin-smartcard is earlier than 1:2.30.4-21.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110395013
      • comment gdm-plugin-smartcard is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110395014
    • AND
      • comment gdm-user-switch-applet is earlier than 1:2.30.4-21.el6_0.1
        oval oval:com.redhat.rhsa:tst:20110395011
      • comment gdm-user-switch-applet is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110395012
rhsa
id RHSA-2011:0395
released 2011-03-28
severity Moderate
title RHSA-2011:0395: gdm security update (Moderate)
rpms
  • gdm-1:2.30.4-21.el6_0.1
  • gdm-libs-1:2.30.4-21.el6_0.1
  • gdm-plugin-fingerprint-1:2.30.4-21.el6_0.1
  • gdm-plugin-smartcard-1:2.30.4-21.el6_0.1
  • gdm-user-switch-applet-1:2.30.4-21.el6_0.1
refmap via4
bid 47063
confirm
debian DSA-2205
fedora
  • FEDORA-2011-4335
  • FEDORA-2011-4351
mandriva MDVSA-2011:070
mlist [gdm-list] 20110328 GDM 2.32.1 released
sectrack 1025264
secunia
  • 43714
  • 43854
  • 44021
ubuntu USN-1099-1
vupen
  • ADV-2011-0786
  • ADV-2011-0787
  • ADV-2011-0797
  • ADV-2011-0847
  • ADV-2011-0911
xf display-manager-priv-escalation(66377)
Last major update 17-08-2017 - 01:33
Published 31-03-2011 - 22:55
Back to Top