ID CVE-2007-3103
Summary The init.d script for the X.Org X11 xfs font server on various Linux distributions might allow local users to change the permissions of arbitrary files via a symlink attack on the /tmp/.font-unix temporary file.
References
Vulnerable Configurations
  • cpe:2.3:o:fedoraproject:fedora_core:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora_core:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:4.0:*:as:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:4.0:*:as:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:4.0:*:es:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:4.0:*:es:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:4.0:*:ws:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:4.0:*:ws:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:4.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_desktop:4.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:linux:*:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:linux:*:*:*:*:*:*:*:*
CVSS
Base: 6.2 (as of 16-10-2018 - 16:47)
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 HIGH NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:H/Au:N/C:C/I:C/A:C
oval via4
accepted 2013-04-29T04:08:54.963-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
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description The init.d script for the X.Org X11 xfs font server on various Linux distributions might allow local users to change the permissions of arbitrary files via a symlink attack on the /tmp/.font-unix temporary file.
family unix
id oval:org.mitre.oval:def:10802
status accepted
submitted 2010-07-09T03:56:16-04:00
title The init.d script for the X.Org X11 xfs font server on various Linux distributions might allow local users to change the permissions of arbitrary files via a symlink attack on the /tmp/.font-unix temporary file.
version 25
redhat via4
advisories
  • bugzilla
    id 242907
    title CVE-2007-3103 init.d xfs script chown race condition vulnerability
    oval
    AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • OR
      • AND
        • comment xorg-x11 is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519002
        • comment xorg-x11 is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003003
      • AND
        • comment xorg-x11-Mesa-libGL is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519004
        • comment xorg-x11-Mesa-libGL is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003021
      • AND
        • comment xorg-x11-Mesa-libGLU is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519034
        • comment xorg-x11-Mesa-libGLU is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003019
      • AND
        • comment xorg-x11-Xdmx is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519014
        • comment xorg-x11-Xdmx is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003013
      • AND
        • comment xorg-x11-Xnest is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519012
        • comment xorg-x11-Xnest is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003037
      • AND
        • comment xorg-x11-Xvfb is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519020
        • comment xorg-x11-Xvfb is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003033
      • AND
        • comment xorg-x11-deprecated-libs is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519024
        • comment xorg-x11-deprecated-libs is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003029
      • AND
        • comment xorg-x11-deprecated-libs-devel is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519030
        • comment xorg-x11-deprecated-libs-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003027
      • AND
        • comment xorg-x11-devel is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519008
        • comment xorg-x11-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003011
      • AND
        • comment xorg-x11-doc is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519032
        • comment xorg-x11-doc is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003015
      • AND
        • comment xorg-x11-font-utils is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519036
        • comment xorg-x11-font-utils is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003025
      • AND
        • comment xorg-x11-libs is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519018
        • comment xorg-x11-libs is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003009
      • AND
        • comment xorg-x11-sdk is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519010
        • comment xorg-x11-sdk is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003007
      • AND
        • comment xorg-x11-tools is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519026
        • comment xorg-x11-tools is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003031
      • AND
        • comment xorg-x11-twm is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519028
        • comment xorg-x11-twm is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003035
      • AND
        • comment xorg-x11-xauth is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519006
        • comment xorg-x11-xauth is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003017
      • AND
        • comment xorg-x11-xdm is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519016
        • comment xorg-x11-xdm is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003023
      • AND
        • comment xorg-x11-xfs is earlier than 0:6.8.2-1.EL.19
          oval oval:com.redhat.rhsa:tst:20070519022
        • comment xorg-x11-xfs is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070003005
    rhsa
    id RHSA-2007:0519
    released 2007-07-12
    severity Moderate
    title RHSA-2007:0519: xorg-x11 security update (Moderate)
  • bugzilla
    id 242903
    title CVE-2007-3103 init.d xfs script chown race condition vulnerability
    oval
    AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment xorg-x11-xfs is earlier than 1:1.0.2-4
          oval oval:com.redhat.rhsa:tst:20070520002
        • comment xorg-x11-xfs is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070520003
      • AND
        • comment xorg-x11-xfs-utils is earlier than 1:1.0.2-4
          oval oval:com.redhat.rhsa:tst:20070520004
        • comment xorg-x11-xfs-utils is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20070520005
    rhsa
    id RHSA-2007:0520
    released 2007-07-12
    severity Moderate
    title RHSA-2007:0520: xorg-x11-xfs security update (Moderate)
rpms
  • xorg-x11-0:6.8.2-1.EL.19
  • xorg-x11-Mesa-libGL-0:6.8.2-1.EL.19
  • xorg-x11-Mesa-libGLU-0:6.8.2-1.EL.19
  • xorg-x11-Xdmx-0:6.8.2-1.EL.19
  • xorg-x11-Xnest-0:6.8.2-1.EL.19
  • xorg-x11-Xvfb-0:6.8.2-1.EL.19
  • xorg-x11-deprecated-libs-0:6.8.2-1.EL.19
  • xorg-x11-deprecated-libs-devel-0:6.8.2-1.EL.19
  • xorg-x11-devel-0:6.8.2-1.EL.19
  • xorg-x11-doc-0:6.8.2-1.EL.19
  • xorg-x11-font-utils-0:6.8.2-1.EL.19
  • xorg-x11-libs-0:6.8.2-1.EL.19
  • xorg-x11-sdk-0:6.8.2-1.EL.19
  • xorg-x11-tools-0:6.8.2-1.EL.19
  • xorg-x11-twm-0:6.8.2-1.EL.19
  • xorg-x11-xauth-0:6.8.2-1.EL.19
  • xorg-x11-xdm-0:6.8.2-1.EL.19
  • xorg-x11-xfs-0:6.8.2-1.EL.19
  • xorg-x11-xfs-1:1.0.2-4
  • xorg-x11-xfs-utils-1:1.0.2-4
refmap via4
bid 24888
bugtraq 20070717 rPSA-2007-0141-1 xorg-x11 xorg-x11-fonts xorg-x11-tools xorg-x11-xfs
confirm
debian DSA-1342
exploit-db 5167
fedora
  • FEDORA-2009-3651
  • FEDORA-2009-3666
gentoo GLSA-200710-11
idefense 20070712 Red Hat Enterprise Linux init.d XFS Script chown Race Condition Vulnerability
osvdb 40945
sectrack 1018375
secunia
  • 26056
  • 26081
  • 26282
  • 27240
  • 35674
xf redhat-xfs-privilege-escalation(35375)
Last major update 16-10-2018 - 16:47
Published 15-07-2007 - 22:30
Back to Top