ScriptAlias directive allows remote CGI script access
| http-scriptalias (332) |
Description:
The ScriptAlias directive creates a virtual directory on your server. Any accesses to that virtual directory is satisfied by returning the output of a CGI server script in that directory. Configuring a Web server with a ScriptAlias Directive specifying a directory under DocumentRoot can open a vulnerability on some Web servers, allowing a remote attacker to view the source of CGI scripts on the Web server. This action may allow a remote attacker to gain access to proprietary CGI code or more easily determine vulnerabilities in existing CGI scripts on a computer.
Consequences:
Obtain Information
Remedy:
Affected sites should move ScriptAlias directories out of the DocumentRoot or upgrade your server to a version that securely handles ScriptAlias directives.
References:
- NCSA HTTPd Development Team: ScriptAlias directive.
- BID-2300: NCSA/Apache httpd ScriptAlias Source Retrieval Vulnerability
- CVE-1999-0236: ScriptAlias directory in NCSA and Apache httpd allowed attackers to read CGI programs.
Platforms Affected:
- Apache HTTP Server
- Compaq Tru64
- Data General DG/UX
- IBM AIX
- Linux Kernel
- NCSA NCSA Servers
- SCO SCO Unix
- SGI IRIX
- Sun Solaris
- WindRiver BSDOS
- HP-UX
Reported:
Jul 12, 1995
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 xforce@iss.net
