Apache HTTP Server suEXEC privilege escalation
| apache-suexec-privilege-escalation (33584) |
Description:
The Apache HTTP Server could allow an authenticated local attacker with Apache group privileges to gain elevated privileges, caused by multiple race conditions in the suEXEC utility. If the server process has write access to the document root, an attacker could exploit this vulnerability to rename directories or perform symlink attacks and execute arbitrary code on the system with elevated privileges.
*CVSS:
| Base Score: | 2.3 |
| Access Vector: | Local |
| Access Complexity: | High |
| Authentication: | Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 1.9 |
| Exploitability: | Unproven |
| Remediation Level: | Unavailable |
| Report Confidence: | Uncorroborated |
Consequences:
Gain Privileges
Remedy:
No remedy available as of June 1, 2013.
References:
- Apache HTTP Server Web site: Welcome! - The Apache HTTP Server Project.
- iDefense Labs PUBLIC ADVISORY: 04.11.07: Apache HTTPD suEXEC Multiple Vulnerabilities.
- BID-23438: Apache HTTPD suEXEC Local Multiple Privilege Escalation Weaknesses
- CVE-2007-1741: 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.
- CVE-2007-1742: suexec in Apache HTTP Server (httpd) 2.2.3 uses a partial comparison for verifying whether the current directory is within the document root, which might allow local users to perform unauthorized operations on incorrect directories, as demonstrated using html_backup and htmleditor under an html directory. 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.
- CVE-2007-1743: suexec in Apache HTTP Server (httpd) 2.2.3 does not verify combinations of user and group IDs on the command line, which might allow local users to leverage other vulnerabilities to create arbitrary UID/GID owned files if /proc is mounted. 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. In addition, because this is dependent on other vulnerabilities, perhaps this is resultant and should not be included in CVE.
- OSVDB ID: 34872: Apache HTTP Server suexec User/Group Combination Weakness Local Privilege Escalation
- OSVDB ID: 38639: Apache HTTP Server suexec Multiple Symlink Privilege Escalation
- OSVDB ID: 38640: Apache HTTP Server suexec Document Root Unauthorized Operations
- SECTRACK ID: 1017904: Apache suEXEC Bugs May Let Local Users Gain Elevated Privileges
Platforms Affected:
- Apache HTTP Server 2.2.3
Reported:
Apr 11, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
