CVE-2005-1087
CVSS6.4
发布时间 :2005-04-07 00:00:00
修订时间 :2008-09-05 16:48:10
NMCOS    

[原文]CRLF injection vulnerability in the cmdIS.DLL plugin for AN HTTPD Server 1.42n allows remote attackers to spoof or hide entries in the logfile, and possibly read files using an injected type command, via CRLF sequences in an HTTP request.


[CNNVD]PHP AN HTTP任意日志内容注入漏洞(CNNVD-200504-006)

        AN HTTPD Server是一款Windows 95/98/Me/NT/2000/XP平台下的web服务程序。
        AN HTTPD中的输入验证错误可能允许远程攻击者向日志文件中注入任意内容,导致隐藏攻击和/或误导管理员。
        特别是在记录请求前AN HTTPD没有过滤掉URI中的CR和LF字符,这样攻击者就可能破坏日志文件或注入假的条目。攻击者还可以向日志文件中注入cmdIS.DLL插件可执行的命令。

- CVSS (基础分值)

CVSS分值: 6.4 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/20031
(VENDOR_ADVISORY)  XF  an-httpd-logfile-character-injection(20031)
http://www.security.org.sg/vuln/anhttpd142n.html
(VENDOR_ADVISORY)  MISC  http://www.security.org.sg/vuln/anhttpd142n.html
http://www.osvdb.org/15362
(VENDOR_ADVISORY)  OSVDB  15362
http://securitytracker.com/id?1013666
(VENDOR_ADVISORY)  SECTRACK  1013666
http://secunia.com/advisories/14861
(VENDOR_ADVISORY)  SECUNIA  14861

- 漏洞信息

PHP AN HTTP任意日志内容注入漏洞
中危 输入验证
2005-04-07 00:00:00 2005-10-20 00:00:00
远程  
        AN HTTPD Server是一款Windows 95/98/Me/NT/2000/XP平台下的web服务程序。
        AN HTTPD中的输入验证错误可能允许远程攻击者向日志文件中注入任意内容,导致隐藏攻击和/或误导管理员。
        特别是在记录请求前AN HTTPD没有过滤掉URI中的CR和LF字符,这样攻击者就可能破坏日志文件或注入假的条目。攻击者还可以向日志文件中注入cmdIS.DLL插件可执行的命令。

- 公告与补丁

        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        http://www.st.rim.or.jp/~nakata/

- 漏洞信息

15362
AN HTTPD Server cmdIS.DLL Plugin httpd.log Arbitrary CRLF Injection
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

AN HTTPD Server contains a flaw that may allow a remote attacker to inject arbitrary text into the server log. The issue is due to the server not properly sanitizing the CR and LF characters of the URI being processed. Using a specially crafted URI, an attacker can cause the injection of custom lines into the log. This could be used to inject fake browsing entries, or arbitrary commands which can be executed through the cmdIS.DLL module.

- 时间线

2005-04-07 2005-03-06
2005-04-07 Unknow

- 解决方案

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround: Move httpd.log outside document root directory

- 相关参考

- 漏洞作者

- 漏洞信息

AN HTTPD Arbitrary Log Content Injection Vulnerability
Input Validation Error 13069
Yes No
2005-04-08 12:00:00 2009-07-12 12:56:00
Discovery is credited to Tan Chew Keong.

- 受影响的程序版本

AN AN-HTTPd 1.42 n

- 漏洞讨论

AN HTTPD is affected by a vulnerability that may allow remote attacker to inject arbitrary content in to the log file. This issue arises due to a failure of input validation.

Corruption of logs may result in concealing attacks and/or misleading an administrator.

This issue can also be exploited to carry out other attacks such as the execution of certain BAT file commands. This can result in the disclosure of source code and text files.

This issue may also aid in the exploitation of the vulnerability described in BID 13066 (AN HTTPD CMDIS.DLL Remote Buffer Overflow Vulnerability).

AN HTTPD 1.42n is reported vulnerable, however, it is possible that other versions are affected as well.

- 漏洞利用

An exploit is not required.

The following proof of concept examples are available:

http://www.example.com/a%20HTTP/1.0"%20200%202048%0d%0a255.255.255.255%20-%20-%20[06/Mar/2005%3a22%3a31%3a11%20+0800]%20"GET%20/hack

http://www.example.com/%0d%0atype%20cgi-bin%5Ctest.bat

To parse a command through 'cmdIS.DLL':
http://www.example.com/scripts/cmdIS.dll/httpd.log

- 解决方案

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com <mailto:vuldb@securityfocus.com>.

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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