ID |
CVE-2007-1741
|
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." |
References |
|
Vulnerable Configurations |
|
CVSS |
Base: | 6.2 (as of 29-07-2017 - 01:30) |
Impact: | |
Exploitability: | |
|
CWE |
CWE-362 |
CAPEC |
-
Leveraging Race Conditions
The adversary 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 adversary 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 adversary 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. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they 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 adversary could replace or modify the file, causing the application to behave unexpectedly.
|
Access |
Vector | Complexity | Authentication |
LOCAL |
HIGH |
NONE |
|
Impact |
Confidentiality | Integrity | Availability |
COMPLETE |
COMPLETE |
COMPLETE |
|
cvss-vector
via4
|
AV:L/AC:H/Au:N/C:C/I:C/A:C
|
refmap
via4
|
bid | 23438 | idefense | 20070411 Apache HTTPD suEXEC Multiple Vulnerabilities | mlist | - [apache-http-dev] 20070328 Re: [Fwd: iDefense Final Notice [IDEF1445]]
- [apache-http-dev] 20070328 [Fwd: iDefense Final Notice [IDEF1445]]
| osvdb | 38639 | sectrack | 1017904 | xf | apache-suexec-privilege-escalation(33584) |
|
statements
via4
|
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 |
|
Last major update |
29-07-2017 - 01:30 |
Published |
13-04-2007 - 16:19 |
Last modified |
29-07-2017 - 01:30 |