ScriptAlias directive allows remote CGI script access

http-scriptalias (332) The risk level is classified as LowLow Risk

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.

Platforms Affected:

  • Apache, HTTP Server
  • Compaq, Tru64
  • Data General, DG/UX
  • HP, HP-UX
  • IBM, AIX
  • Linux, Kernel
  • NCSA, NCSA Servers
  • SCO, SCO Unix
  • SGI, IRIX
  • Sun, Solaris
  • WindRiver, BSDOS

Remedy:

Affected sites should move ScriptAlias directories out of the DocumentRoot or upgrade your server to a version that securely handles ScriptAlias directives.

Consequences:

Obtain Information

References:

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 (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.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page