Apache mod_suexec Multiple Privilege Escalation Vulnerabilities

Medium Nessus Plugin ID 17693


The remote Apache server is vulnerable to multiple privilege escalation attacks.


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.

- Apache's suexec module only performs partial comparisons on paths, which could result in privilege escalation. (CVE-2007-1742)

- Apache's suexec module does not properly verify user and group IDs on the command line. When the '/proc' filesystem is mounted, a local user can utilize suexec to escalate privileges. (CVE-2007-1743)

Note that this plugin only checks for the presence of Apache, and does not actually check the configuration.


Disable suexec or disallow users from writing to the document root.

See Also



Plugin Details

Severity: Medium

ID: 17693

File Name: apache_mod_suexec.nasl

Version: $Revision: 1.5 $

Type: remote

Family: Web Servers

Published: 2011/11/18

Modified: 2018/01/22

Dependencies: 48204

Risk Information

Risk Factor: Medium


Base Score: 6.2

Temporal Score: 5.6

Vector: CVSS2#AV:L/AC:H/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:F/RL:W/RC:ND


Base Score: 7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/a:apache:http_server

Required KB Items: installed_sw/Apache, Settings/PCI_DSS

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 2007/04/11

Reference Information

CVE: CVE-2007-1741, CVE-2007-1742, CVE-2007-1743

BID: 23438

OSVDB: 34872, 38639, 38640