Vulnerabilities > CVE-2007-1741 - Race Condition vulnerability in Apache Http Server 2.2.3
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Multiple race conditions in suexec in Apache HTTP Server (httpd) 2.2.3 between directory and file validation, and their usage, allow local users to gain privileges and execute arbitrary code by renaming directories or performing symlink attacks. NOTE: the researcher, who is reliable, claims that the vendor disputes the issue because "the attacks described rely on an insecure server configuration" in which the user "has write access to the document root."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leveraging Race Conditions This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
- Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.
Nessus
NASL family | Web Servers |
NASL id | APACHE_MOD_SUEXEC.NASL |
description | The remote host appears to be running Apache and is potentially affected by the following vulnerabilities: - Multiple race conditions exist in suexec between the validation and usage of directories and files. Under certain conditions local users are able to escalate privileges and execute arbitrary code through the renaming of directories or symlink attacks. (CVE-2007-1741) - Apache |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 17693 |
published | 2011-11-18 |
reporter | This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/17693 |
title | Apache mod_suexec Multiple Privilege Escalation Vulnerabilities |
code |
|
Statements
contributor | Mark J Cox |
lastmodified | 2007-04-19 |
organization | Red Hat |
statement | These attacks are reliant on an insecure configuration of the server - that the user the server runs as has write access to the document root. The suexec security model is not intented to protect against privilege escalation in such a configuration |
References
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=511
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=511
- http://marc.info/?l=apache-httpd-dev&m=117511568709063&w=2
- http://marc.info/?l=apache-httpd-dev&m=117511568709063&w=2
- http://marc.info/?l=apache-httpd-dev&m=117511834512138&w=2
- http://marc.info/?l=apache-httpd-dev&m=117511834512138&w=2
- http://osvdb.org/38639
- http://osvdb.org/38639
- http://www.securityfocus.com/bid/23438
- http://www.securityfocus.com/bid/23438
- http://www.securitytracker.com/id?1017904
- http://www.securitytracker.com/id?1017904
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33584
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33584