Gentoo Logo

ViewCVS: Information leak and XSS vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200412-26 / ViewCVS
Release Date December 28, 2004
Latest Revision December 28, 2004: 01
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/viewcvs <= 0.9.2_p20041207 >= 0.9.2_p20041207-r1 All supported architectures

Related bugreports: #72461, #73772


ViewCVS is vulnerable to an information leak and to cross-site scripting (XSS) issues.

2.  Impact Information


ViewCVS is a browser interface for viewing CVS and Subversion version control repositories through a web browser.


The tar export functions in ViewCVS bypass the 'hide_cvsroot' and 'forbidden' settings and therefore expose information that should be kept secret (CAN-2004-0915). Furthermore, some error messages in ViewCVS do not filter user-provided information, making it vulnerable to a cross-site scripting attack (CAN-2004-1062).


By using the tar export functions, a remote attacker could access information that is configured as restricted. Through the use of a malicious request, an attacker could also inject and execute malicious script code, potentially compromising another user's browser.

3.  Resolution Information


There is no known workaround at this time.


All ViewCVS users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated December 28, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.