Secunia Research has discovered a vulnerability in ViewVC, which can be exploited by malicious people to conduct cross-site scripting attacks. Input passed to the regular expression search functionality is not properly sanitized before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. Successful exploitation requires that the regular expression search functionality is enabled (disabled by default).
5134f35b273cbc82406c71d36a286ab9ee387d8b95bd20cc48b361730aa73186
======================================================================
Secunia Research 30/03/2010
- ViewVC Regular Expression Search Cross-Site Scripting -
======================================================================
Table of Contents
Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10
======================================================================
1) Affected Software
* ViewVC 1.0.10 and 1.1.4.
NOTE: Prior versions may also be affected.
======================================================================
2) Severity
Rating: Less critical
Impact: Cross-Site Scripting
Where: Remote
======================================================================
3) Vendor's Description of Software
"ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable
directory, revision, and change log listings. It can display specific
versions of files as well as diffs between those versions.".
Product Link:
http://viewvc.org/
======================================================================
4) Description of Vulnerability
Secunia Research has discovered a vulnerability in ViewVC, which can
be exploited by malicious people to conduct cross-site scripting
attacks.
Input passed to the regular expression search functionality is not
properly sanitised before being returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.
Successful exploitation requires that the regular expression search
functionality is enabled (disabled by default).
======================================================================
5) Solution
Update to version 1.0.11 or 1.1.5.
======================================================================
6) Time Table
11/03/2010 - Vendor notified.
11/03/2010 - Vendor response.
30/03/2010 - Public disclosure.
======================================================================
7) Credits
Discovered by Secunia Research.
======================================================================
8) References
The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2010-0132 for the vulnerability.
======================================================================
9) About Secunia
Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:
http://secunia.com/advisories/business_solutions/
Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private
individuals, who are interested in or concerned about IT-security.
http://secunia.com/advisories/
Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the
security and reliability of software in general:
http://secunia.com/secunia_research/
Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:
http://secunia.com/corporate/jobs/
Secunia offers a FREE mailing list called Secunia Security Advisories:
http://secunia.com/advisories/mailing_lists/
======================================================================
10) Verification
Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2010-26/
Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/
======================================================================