OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA38964] Dojo Toolkit Redirection Weaknesses and Cross-Site Scripting

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Wed Mar 17 2010 - 20:44:17 CDT


----------------------------------------------------------------------

Use WSUS to deploy 3rd party patches

Public BETA
http://secunia.com/vulnerability_scanning/corporate/wsus_3rd_third_party_patching/

----------------------------------------------------------------------

TITLE:
Dojo Toolkit Redirection Weaknesses and Cross-Site Scripting

SECUNIA ADVISORY ID:
SA38964

VERIFY ADVISORY:
http://secunia.com/advisories/38964/

DESCRIPTION:
Some weaknesses and vulnerabilities have been reported in Dojo
Toolkit, which can be exploited by malicious people to conduct
redirection and cross-site scripting attacks.

1) Some weaknesses are caused due to certain scripts allowing to
redirect users to a site specified by an attacker. This can be
exploited to e.g. redirect users to an (untrusted) fake site.

2) Input passed to the "theme" parameter in
dijit\tests\_testCommon.js, the "dojoUrl" and "testUrl" parameters in
doh\runner.html, and certain other unspecified parameters in other
scripts 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.

Note: Successful exploitation of some of the vulnerabilities requires
that Dojo is deployed with test files, e.g. by building Dojo from the
Dojo SDK with "copyTests" being set to "true" (default setting in
vulnerable versions).

SOLUTION:
Update to version 0.4.4, 1.0.3, 1.1.2, 1.2.4, 1.3.3, and 1.4.2.

PROVIDED AND/OR DISCOVERED BY:
1) Reported by the vendor.
2) Reported by the vendor and Adam Bixby, Gotham Digital Science

ORIGINAL ADVISORY:
Gotham Digitial Science:
http://www.gdssecurity.com/l/b/2010/03/12/multiple-dom-based-xss-in-dojo-toolkit-sdk/

Dojo Toolkit:
http://dojotoolkit.org/blog/post/dylan/2010/03/dojo-security-advisory/
http://bugs.dojotoolkit.org/ticket/10773

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------