SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

ViewVC Undefined Charset UTF-7 XSS Vulnerability


Arrow  SecurityAlert : 1755
Arrow  CVE : CVE-2006-5442
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : No
Arrow  Credit : Stefan Esser
Arrow  Published : 23.10.2006

Arrow  Affected Software : ViewVC <= 1.0.2



Arrow  Advisory Content :  

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

Happy Python Hackers Project
www.hardened-php.net

-= Security Advisory =-

Advisory: ViewVC Undefined Charset UTF-7 XSS Vulnerability
Release Date: 2006/10/15
Last Modified: 2006/10/15
Author: Stefan Esser [sesser (at) hardened-php (dot) net [email
concealed]]

Application: ViewVC <= 1.0.2
Severity: A missing default charset definition allows XSS attacks
against browsers interpreting UTF-7 (IE, mozilla family)
Risk: Medium
Vendor Status: Vendor released 1.0.3 which according to vendor fixes
this vulnerability
References: http://www.hardened-php.net/advisory_102006.134.html

Description:

Quote from http://www.viewvc.org
"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. Basically, ViewVC provides the bulk of the
report-like functionality you expect out of your version
control tool, but much more prettily than the average textual
command-line program output."

It was discovered that ViewVC is neither sending a charset HTTP
header nor specifying a charset in the HTML body. Therefore it
is possible to trick several browsers into decoding ViewVC pages
UTF-7. This allows attackers to inject arbitrary UTF-7 encoded
Java-Script code into the output.

Please note that these UTF-7 attacks against sites with missing
charset definitions are also exploitable in the mozilla browser
family (seamonkey, firefox, ...). Advisories from different
parties that describe similar vulnerabilities usually claim
that only Internet Explorer with activated auto-detection is
vulnerable. In reality the mozilla browser family is even more
affected, because you can attack them no matter if charset
auto-detection is turned on or off.

Proof of Concept:

The Hardened-PHP Project is not going to release a proof of
concept exploit to the general public.

Disclosure Timeline:

07. October 2006 - Notified ViewVC developers
13. October 2006 - ViewVC developers release 1.0.3
15. October 2006 - Public Disclosure

Recommendation:

It is strongly recommended to upgrade to the newest version of
ViewVC 1.0.3 which you can download at:

http://viewvc.tigris.org/servlets/ProjectDocumentList?folderID=6004

GPG-Key:

http://www.hardened-php.net/hardened-php-signature-key.asc

pub 1024D/0A864AA1 2004-04-17 Hardened-PHP Signature Key
Key fingerprint = 066F A6D0 E57E 9936 9082 7E52 4439 14CC 0A86 4AA1

Copyright 2006 Stefan Esser. All rights reserved.

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

iD8DBQFFMlChRDkUzAqGSqERAv5fAJ0VZT36wYntwGoonHL2Q3GEeUKrCACgssem
aVuWdWmQZL1mbqnIHt81fJ8=
=cIE+
-----END PGP SIGNATURE-----





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.