CVE-2004-0915
CVSS5.0
发布时间 :2005-01-10 00:00:00
修订时间 :2008-09-10 15:28:14
NMCOPS    

[原文]Multiple unknown vulnerabilities in viewcvs before 0.9.2, when exporting a repository as a tar archive, does not properly implement the hide_cvsroot and forbidden settings, which could allow remote attackers to gain sensitive information.


[CNNVD]ViewCVS repository 弱安全机制漏洞(CNNVD-200501-065)

        ViewCVS是一款查看CVS系统的脚本,可使用在Unix和Linux操作系统下,也可使用在Microsoft Windows操作系统下。
        ViewCVS 0.9.2之前版本存在多个未知漏洞,导致信息泄露。
        在导出TAR档时,由于没有正确处理hide_cvsroot和权限设置,远程攻击者可获取部分受限制文件,获得敏感信息。

- CVSS (基础分值)

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

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

cpe:/o:debian:debian_linux:3.0::hppa
cpe:/o:debian:debian_linux:3.0::mips
cpe:/o:debian:debian_linux:3.0::ia-32
cpe:/o:debian:debian_linux:3.0::m68k
cpe:/o:debian:debian_linux:3.0::s-390
cpe:/o:debian:debian_linux:3.0::alpha
cpe:/o:debian:debian_linux:3.0::arm
cpe:/o:debian:debian_linux:3.0::ia-64
cpe:/a:viewcvs:viewcvs:0.9.2
cpe:/o:debian:debian_linux:3.0::mipsel
cpe:/o:debian:debian_linux:3.0::sparc
cpe:/o:debian:debian_linux:3.0Debian Debian Linux 3.0
cpe:/o:debian:debian_linux:3.0::ppc

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.debian.org/security/2004/dsa-605
(VENDOR_ADVISORY)  DEBIAN  DSA-605
http://xforce.iss.net/xforce/xfdb/18369
(VENDOR_ADVISORY)  XF  viewcvs-repository-weak-security(18369)

- 漏洞信息

ViewCVS repository 弱安全机制漏洞
中危 设计错误
2005-01-10 00:00:00 2005-10-20 00:00:00
远程  
        ViewCVS是一款查看CVS系统的脚本,可使用在Unix和Linux操作系统下,也可使用在Microsoft Windows操作系统下。
        ViewCVS 0.9.2之前版本存在多个未知漏洞,导致信息泄露。
        在导出TAR档时,由于没有正确处理hide_cvsroot和权限设置,远程攻击者可获取部分受限制文件,获得敏感信息。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        http://viewvc.tigris.org/servlets/ProjectDocumentList?folderID=6004

- 漏洞信息 (F35248)

dsa-605.txt (PacketStormID:F35248)
2004-12-12 00:00:00
 
advisory,web,vulnerability
linux,debian
CVE-2004-0915
[点击下载]

Debian Security Advisory 605-1 - Hajvan Sehic discovered several vulnerabilities in viewcvs, a utility for viewing CVS and Subversion repositories via HTTP. When exporting a repository as a tar archive the hide_cvsroot and forbidden settings were not honored enough.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 605-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
December 6th, 2004                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : viewcvs
Vulnerability  : settings not honored
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2004-0915

Hajvan Sehic discovered several vulnerabilities in viewcvs, a utility
for viewing CVS and Subversion repositories via HTTP.  When exporting
a repository as a tar archive the hide_cvsroot and forbidden settings
were not honoured enough.

When upgrading the package for woody, please make a copy of your
/etc/viewcvs/viewcvs.conf file if you have manually edited this file.
Upon upgrade the debconf mechanism may alter it in a way so that
viewcvs doesn't understand it anymore.

For the stable distribution (woody) these problems have been fixed in
version 0.9.2-4woody1.

For the unstable distribution (sid) these problems have been fixed in
version 0.9.2+cvs.1.0.dev.2004.07.28-1.2.

We recommend that you upgrade your viewcvs package.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/v/viewcvs/viewcvs_0.9.2-4woody1.dsc
      Size/MD5 checksum:      628 4d0b925c801e55393ddb9d32e04699bd
    http://security.debian.org/pool/updates/main/v/viewcvs/viewcvs_0.9.2-4woody1.diff.gz
      Size/MD5 checksum:    33345 34be8bcc7e47f26b8e85ff48a38be023
    http://security.debian.org/pool/updates/main/v/viewcvs/viewcvs_0.9.2.orig.tar.gz
      Size/MD5 checksum:   140063 c7857b1ed05240ad1f691ea40044daf2

  Architecture independent components:

    http://security.debian.org/pool/updates/main/v/viewcvs/viewcvs_0.9.2-4woody1_all.deb
      Size/MD5 checksum:   216628 a83bff813d3146d126dd5d6059c5ef0e


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBtDHoW5ql+IAeqTIRArpRAKCGoJ0iUv+en+DheiwXJK7YVZc9xwCggtNr
IpIWEZQmLnBt/Oxzvimxj0k=
=KcyN
-----END PGP SIGNATURE-----

    

- 漏洞信息

12235
ViewCVS Restricted Directory Access Security Bypass
Remote / Network Access Information Disclosure
Loss of Confidentiality Upgrade
Vendor Verified

- 漏洞描述

ViewCVS contains a flaw that may lead to unauthorized information disclosure. The issue is triggered when exporting a repository as a tar archive, which will not honor the hide_cvsroot and forbidden settings information, resulting in a loss of confidentiality.

- 时间线

2004-12-06 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 0.9.2-4woody1 if running the stable distribution of Debian, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

- 漏洞信息

ViewCVS Multiple Information Disclosure Vulnerabilities
Design Error 11819
Yes No
2004-12-06 12:00:00 2009-07-12 08:07:00
Discovery is credited to Hajvan Sehic.

- 受影响的程序版本

ViewCVS ViewCVS 0.9.2
- Apache Software Foundation Apache 1.3.24
- Apache Software Foundation Apache 1.3.24
- Apache Software Foundation Apache 1.3.23
- Apache Software Foundation Apache 1.3.23
- Apache Software Foundation Apache 1.3.22
- Apache Software Foundation Apache 1.3.22
- Apache Software Foundation Apache 1.3.20
- Apache Software Foundation Apache 1.3.20
+ 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
+ S.u.S.E. Linux Personal 9.2
+ S.u.S.E. Linux Personal 9.1
+ S.u.S.E. Linux Personal 9.0 x86_64
+ S.u.S.E. Linux Personal 9.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

- 漏洞讨论

ViewCVS is reportedly prone to multiple information disclosure vulnerabilities when repositories are exported to tar archives.

Reportedly, certain configuration directives are not properly honored when creating tar archives for users to download. This allows remote attackers to gain access to potentially sensitive files located in restricted directories. The contents of these files may aid them in further attacks.

This issue is only exploitable if the package is configured to allow tar archive generation. This is enabled by setting the 'tar_archive' configuration directive to '1'.

- 漏洞利用

An exploit is not required.

- 解决方案

Debian has released an advisory (DSA 605-1) and fixes to address this issue. Please see the referenced advisory for links to fixed packages.

Gentoo has released an advisory GLSA 200412-26 to address various issues in ViewCVS. Please see the referenced advisory for more information. Gentoo users may carry out the following commands to update their computers:

emerge --sync
emerge --ask --oneshot ?verbose ">=www-apps/viewcvs-0.9.2_p20041207-r1"


Debian Linux 3.0

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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