CVE-1999-0236
CVSS10.0
发布时间 :1997-01-01 00:00:00
修订时间 :2008-09-09 08:34:03
NMCOES    

[原文]ScriptAlias directory in NCSA and Apache httpd allowed attackers to read CGI programs.


[CNNVD]NCSA/Apache httpd ScriptAlias远程泄漏脚本源码漏洞(CNNVD-199701-019)

        
        NSCA httpd 1.5及以前版本和Apache Web Server 1.0以前的版本的ScriptAlias功能存在漏洞。如果ScriptAlias目录定义在DocumentRoot下,远程攻击者可以浏览Web服务器上CGI程序的源码。
        如果索引功能打开的话,在URL里使用多个斜杠还可以列出CGI-BIN目录的列表。
        远程攻击者可以利用这个漏洞查看脚本的代码,进一步审计这些脚本可能获得更多漏洞。
        <**>

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/a:apache:http_serverApache Software Foundation Apache HTTP Server
cpe:/a:ncsa:servers

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0236
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-1999-0236
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-199701-019
(官方数据源) CNNVD

- 其它链接及资源

- 漏洞信息

NCSA/Apache httpd ScriptAlias远程泄漏脚本源码漏洞
危急 未知
1997-01-01 00:00:00 2007-02-08 00:00:00
远程  
        
        NSCA httpd 1.5及以前版本和Apache Web Server 1.0以前的版本的ScriptAlias功能存在漏洞。如果ScriptAlias目录定义在DocumentRoot下,远程攻击者可以浏览Web服务器上CGI程序的源码。
        如果索引功能打开的话,在URL里使用多个斜杠还可以列出CGI-BIN目录的列表。
        远程攻击者可以利用这个漏洞查看脚本的代码,进一步审计这些脚本可能获得更多漏洞。
        <**>

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        * 修改配置文件,ScriptAlias指定的CGI目录不能在DocumentRoot里面。
        厂商补丁:
        Apache Software Foundation
        --------------------------
        目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载最新版本的apache:
        
        http://www.apache.org/

- 漏洞信息 (20595)

NCSA 1.3/1.4.x/1.5,Apache httpd 0.8.11/0.8.14 ScriptAlias Source Retrieval Vulnerability (EDBID:20595)
multiple remote
1999-09-25 Verified
0 Anonymous
N/A [点击下载]
source: http://www.securityfocus.com/bid/2300/info

NSCA httpd prior to and including 1.5 and Apache Web Server prior to 1.0 contain a bug in the ScriptAlias function that allows remote users to view the source of CGI programs on the web server, if a ScriptAlias directory is defined under DocumentRoot. A full listing of the CGI-BIN directory can be obtained if indexing is turned on, as well. This is accomplished by adding multiple forward slashes in the URL (see exploit). The web server fails to recognize that a ScriptAlias directory is actually redirected to a CGI directory when this syntax is used, and returns the text of the script instead of properly executing it. This may allow an attacker to audit scripts for vulnerabilities, retrieve proprietary information, etc. 

To retrieve the contents of http://targethost/cgi-bin/script.cgi an attacker would use the following URL, provided the directory cgi-bin is redirected using ScriptAlias:
http://targethost///cgi-bin/script.cgi 		

- 漏洞信息

1745
NCSA HTTPd ScriptAlias Crafted Request Arbitrary CGI Source Disclosure
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality
Exploit Public

- 漏洞描述

- 时间线

1995-07-12 Unknow
1995-07-12 Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

NCSA/Apache httpd ScriptAlias Source Retrieval Vulnerability
Input Validation Error 2300
Yes Yes
1999-09-25 12:00:00 1999-09-25 12:00:00
Discovery information is not currently known - this vulnerability is associated with CVE-1999-0236.

- 受影响的程序版本

NCSA httpd 1.5 a-export
NCSA httpd 1.4.2
NCSA httpd 1.4.1
NCSA httpd 1.4
NCSA httpd 1.3
Apache Software Foundation Apache 0.8.14
Apache Software Foundation Apache 0.8.11
Apache Software Foundation Apache 1.0

- 不受影响的程序版本

Apache Software Foundation Apache 1.0

- 漏洞讨论

NSCA httpd prior to and including 1.5 and Apache Web Server prior to 1.0 contain a bug in the ScriptAlias function that allows remote users to view the source of CGI programs on the web server, if a ScriptAlias directory is defined under DocumentRoot. A full listing of the CGI-BIN directory can be obtained if indexing is turned on, as well. This is accomplished by adding multiple forward slashes in the URL (see exploit). The web server fails to recognize that a ScriptAlias directory is actually redirected to a CGI directory when this syntax is used, and returns the text of the script instead of properly executing it. This may allow an attacker to audit scripts for vulnerabilities, retrieve proprietary information, etc.

- 漏洞利用

To retrieve the contents of http://targethost/cgi-bin/script.cgi an attacker would use the following URL, provided the directory cgi-bin is redirected using ScriptAlias:
http://targethost///cgi-bin/script.cgi

- 解决方案

Upgrade to a current version of Apache httpd. This problem was reportedly fixed with version 1.0 of the server.

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站