Apache mod_suexec Multiple Privilege Escalation Vulnerabilities
Medium Nessus Plugin ID 17693
SynopsisThe remote Apache server is vulnerable to multiple privilege escalation attacks.
DescriptionThe 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.
SolutionDisable suexec or disallow users from writing to the document root.