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:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: Dojo Toolkit Redirection Weaknesses and Cross-Site Scripting
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.