Vulnerabilities > CVE-2007-3103 - Link Following vulnerability in multiple products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN 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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 1 | |
OS | 5 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (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.
Exploit-Db
description | X.Org xorg-x11-xfs. CVE-2007-3103. Local exploit for linux platform |
file | exploits/linux/local/5167.sh |
id | EDB-ID:5167 |
last seen | 2016-01-31 |
modified | 2008-02-21 |
platform | linux |
port | |
published | 2008-02-21 |
reporter | vl4dZ |
source | https://www.exploit-db.com/download/5167/ |
title | X.Org xorg-x11-xfs <= 1.0.2-3.1 - Local Race Condition Exploit |
type | local |
Nessus
NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2007-0520.NASL description Updated X.org packages that address a flaw in the way the X.Org X11 xfs font server starts are now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The X.Org X11 xfs font server provides a standard mechanism for an X server to communicate with a font renderer. A temporary file flaw was found in the way the X.Org X11 xfs font server startup script executes. A local user could modify the permissions of a file of their choosing, possibly elevating their local privileges. (CVE-2007-3103) Users of the X.org X11 xfs font server should upgrade to these updated packages, which contain a backported patch and are not vulnerable to this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 43644 published 2010-01-06 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/43644 title CentOS 5 : xorg-x11-xfs (CESA-2007:0520) NASL family Scientific Linux Local Security Checks NASL id SL_20070712_XORG_X11_ON_SL4_X.NASL description A temporary file flaw was found in the way the X.Org X11 xfs font server startup script executes. A local user could modify the permissions of the file of their choosing, possibly elevating their local privileges (CVE-2007-3103). last seen 2020-06-01 modified 2020-06-02 plugin id 60224 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/60224 title Scientific Linux Security Update : xorg-x11 on SL4.x i386/x86_64 NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2007-0519.NASL description Updated X.org packages that correct a flaw in the way the X.Org X11 xfs font server starts are 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. X.org is an open source implementation of the X Window System. It provides the basic low-level functionality that full-fledged graphical user interfaces are designed upon. A temporary file flaw was found in the way the X.Org X11 xfs font server startup script executes. A local user could modify the permissions of the file of their choosing, possibly elevating their local privileges (CVE-2007-3103). Users of X.org should upgrade to these updated packages, which contain a backported patch and are not vulnerable to these issues. last seen 2020-06-01 modified 2020-06-02 plugin id 25722 published 2007-07-18 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/25722 title RHEL 4 : xorg-x11 (RHSA-2007:0519) NASL family Fedora Local Security Checks NASL id FEDORA_2009-3666.NASL description - Mon Apr 13 2009 Adam Jackson <ajax at redhat.com> 1.0.5-2.1 - xfs.init: Fix mkdir race (#492517) 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 39593 published 2009-07-03 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/39593 title Fedora 9 : xorg-x11-xfs-1.0.5-2.1.fc9 (2009-3666) NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2007-0520.NASL description From Red Hat Security Advisory 2007:0520 : Updated X.org packages that address a flaw in the way the X.Org X11 xfs font server starts are now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The X.Org X11 xfs font server provides a standard mechanism for an X server to communicate with a font renderer. A temporary file flaw was found in the way the X.Org X11 xfs font server startup script executes. A local user could modify the permissions of a file of their choosing, possibly elevating their local privileges. (CVE-2007-3103) Users of the X.org X11 xfs font server should upgrade to these updated packages, which contain a backported patch and are not vulnerable to this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 67529 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/67529 title Oracle Linux 5 : xorg-x11-xfs (ELSA-2007-0520) NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2007-0519.NASL description From Red Hat Security Advisory 2007:0519 : Updated X.org packages that correct a flaw in the way the X.Org X11 xfs font server starts are 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. X.org is an open source implementation of the X Window System. It provides the basic low-level functionality that full-fledged graphical user interfaces are designed upon. A temporary file flaw was found in the way the X.Org X11 xfs font server startup script executes. A local user could modify the permissions of the file of their choosing, possibly elevating their local privileges (CVE-2007-3103). Users of X.org should upgrade to these updated packages, which contain a backported patch and are not vulnerable to these issues. last seen 2020-06-01 modified 2020-06-02 plugin id 67528 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/67528 title Oracle Linux 4 : xorg-x11 (ELSA-2007-0519) NASL family Scientific Linux Local Security Checks NASL id SL_20070712_XORG_X11_XFS_ON_SL5_X.NASL description A temporary file flaw was found in the way the X.Org X11 xfs font server startup script executes. A local user could modify the permissions of a file of their choosing, possibly elevating their local privileges. (CVE-2007-3103) last seen 2020-06-01 modified 2020-06-02 plugin id 60225 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/60225 title Scientific Linux Security Update : xorg-x11-xfs on SL5.x i386/x86_64 NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1342.NASL description It was discovered that a race condition in the init.d script of the X Font Server allows the modification of file permissions of arbitrary files if the local administrator can be tricked into restarting the X font server. last seen 2020-06-01 modified 2020-06-02 plugin id 25825 published 2007-08-01 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/25825 title Debian DSA-1342-1 : xfs - race condition NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200710-11.NASL description The remote host is affected by the vulnerability described in GLSA-200710-11 (X Font Server: Multiple Vulnerabilities) iDefense reported that the xfs init script does not correctly handle a race condition when setting permissions of a temporary file (CVE-2007-3103). Sean Larsson discovered an integer overflow vulnerability in the build_range() function possibly leading to a heap-based buffer overflow when handling last seen 2020-06-01 modified 2020-06-02 plugin id 27046 published 2007-10-15 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/27046 title GLSA-200710-11 : X Font Server: Multiple Vulnerabilities NASL family Fedora Local Security Checks NASL id FEDORA_2009-3651.NASL description - Mon Apr 13 2009 Adam Jackson <ajax at redhat.com> 1.0.5-3.1 - xfs.init: Fix mkdir race (#492517) 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 39592 published 2009-07-03 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/39592 title Fedora 10 : xorg-x11-xfs-1.0.5-3.1.fc10 (2009-3651) NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2007-0519.NASL description Updated X.org packages that correct a flaw in the way the X.Org X11 xfs font server starts are 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. X.org is an open source implementation of the X Window System. It provides the basic low-level functionality that full-fledged graphical user interfaces are designed upon. A temporary file flaw was found in the way the X.Org X11 xfs font server startup script executes. A local user could modify the permissions of the file of their choosing, possibly elevating their local privileges (CVE-2007-3103). Users of X.org should upgrade to these updated packages, which contain a backported patch and are not vulnerable to these issues. last seen 2020-06-01 modified 2020-06-02 plugin id 25712 published 2007-07-18 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/25712 title CentOS 4 : xorg-x11 (CESA-2007:0519) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2007-0520.NASL description Updated X.org packages that address a flaw in the way the X.Org X11 xfs font server starts are now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The X.Org X11 xfs font server provides a standard mechanism for an X server to communicate with a font renderer. A temporary file flaw was found in the way the X.Org X11 xfs font server startup script executes. A local user could modify the permissions of a file of their choosing, possibly elevating their local privileges. (CVE-2007-3103) Users of the X.org X11 xfs font server should upgrade to these updated packages, which contain a backported patch and are not vulnerable to this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 25723 published 2007-07-18 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/25723 title RHEL 5 : xorg-x11-xfs (RHSA-2007:0520)
Oval
accepted | 2013-04-29T04:08:54.963-04:00 | ||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||
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 | 28 |
Packetstorm
data source | https://packetstormsecurity.com/files/download/63891/xorg-race.txt |
id | PACKETSTORM:63891 |
last seen | 2016-12-05 |
published | 2008-02-22 |
reporter | vl4dZ |
source | https://packetstormsecurity.com/files/63891/xorg-race.txt.html |
title | xorg-race.txt |
Redhat
advisories |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rpms |
|
Seebug
bulletinFamily exploit description No description provided by source. id SSV:65216 last seen 2017-11-19 modified 2014-07-01 published 2014-07-01 reporter Root source https://www.seebug.org/vuldb/ssvid-65216 title X.Org xorg-x11-xfs <= 1.0.2-3.1 - Local Race Condition Exploit bulletinFamily exploit description No description provided by source. id SSV:8154 last seen 2017-11-19 modified 2008-02-22 published 2008-02-22 reporter Root source https://www.seebug.org/vuldb/ssvid-8154 title X.Org xorg-x11-xfs <= 1.0.2-3.1 Local Race Condition Exploit
References
- http://bugs.gentoo.org/show_bug.cgi?id=185660
- http://bugs.gentoo.org/show_bug.cgi?id=185660
- http://bugzilla.redhat.com/242903
- http://bugzilla.redhat.com/242903
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=557
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=557
- http://osvdb.org/40945
- http://osvdb.org/40945
- http://secunia.com/advisories/26056
- http://secunia.com/advisories/26056
- http://secunia.com/advisories/26081
- http://secunia.com/advisories/26081
- http://secunia.com/advisories/26282
- http://secunia.com/advisories/26282
- http://secunia.com/advisories/27240
- http://secunia.com/advisories/27240
- http://secunia.com/advisories/35674
- http://secunia.com/advisories/35674
- http://security.gentoo.org/glsa/glsa-200710-11.xml
- http://security.gentoo.org/glsa/glsa-200710-11.xml
- http://www.debian.org/security/2007/dsa-1342
- http://www.debian.org/security/2007/dsa-1342
- http://www.redhat.com/support/errata/RHSA-2007-0519.html
- http://www.redhat.com/support/errata/RHSA-2007-0519.html
- http://www.redhat.com/support/errata/RHSA-2007-0520.html
- http://www.redhat.com/support/errata/RHSA-2007-0520.html
- http://www.securityfocus.com/archive/1/473869/100/0/threaded
- http://www.securityfocus.com/archive/1/473869/100/0/threaded
- http://www.securityfocus.com/bid/24888
- http://www.securityfocus.com/bid/24888
- http://www.securitytracker.com/id?1018375
- http://www.securitytracker.com/id?1018375
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35375
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35375
- https://issues.rpath.com/browse/RPL-1485
- https://issues.rpath.com/browse/RPL-1485
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10802
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10802
- https://www.exploit-db.com/exploits/5167
- https://www.exploit-db.com/exploits/5167
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00095.html
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00095.html
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00096.html
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00096.html