CVE-2010-2274: Dojo Dojo Open Redirect Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-mmjh-45vj-hfvf
CWE-601
Published
Advisory Summary

CVE-2010-2274 is a MODERATE dojo open redirect vulnerability vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Dojo libraries in the Maven ecosystem. The issue involves dojo open redirect vulnerability. Remediation is available by upgrading affected packages to version 1.0.3, 1.1.2, 1.2.4, 1.3.3, 1.4.2.

CVE-2010-2274 at a Glance

CVE Identifier CVE-2010-2274
GHSA Identifier GHSA-mmjh-45vj-hfvf
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Dojo
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2010-2274

To remediate this vulnerability, upgrade all affected Dojo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.dojotoolkit:dojo fixed: 1.0.3
<dependency>
    <groupId>org.dojotoolkit</groupId>
    <artifactId>dojo</artifactId>
    <version>1.0.3</version>
</dependency>
org.dojotoolkit:dojo fixed: 1.1.2
<dependency>
    <groupId>org.dojotoolkit</groupId>
    <artifactId>dojo</artifactId>
    <version>1.1.2</version>
</dependency>
org.dojotoolkit:dojo fixed: 1.2.4
<dependency>
    <groupId>org.dojotoolkit</groupId>
    <artifactId>dojo</artifactId>
    <version>1.2.4</version>
</dependency>
org.dojotoolkit:dojo fixed: 1.3.3
<dependency>
    <groupId>org.dojotoolkit</groupId>
    <artifactId>dojo</artifactId>
    <version>1.3.3</version>
</dependency>
org.dojotoolkit:dojo fixed: 1.4.2
<dependency>
    <groupId>org.dojotoolkit</groupId>
    <artifactId>dojo</artifactId>
    <version>1.4.2</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.dojotoolkit

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2010-2274, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.dojotoolkit

Analyze the terminal output to locate any version of Dojo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.dojotoolkit command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Dojo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Multiple open redirect vulnerabilities in Dojo 1.0.x before 1.0.3, 1.1.x before 1.1.2, 1.2.x before 1.2.4, 1.3.x before 1.3.3, and 1.4.x before 1.4.2 allow remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors, possibly related to dojo/resources/iframe_history.html, dojox/av/FLAudio.js, dojox/av/FLVideo.js, dojox/av/resources/audio.swf, dojox/av/resources/video.swf, util/buildscripts/jslib/build.js, util/buildscripts/jslib/buildUtil.js, and util/doh/runner.html.

CVE-2010-2274 Affected Dojo Versions

5 component(s)
Fixed Versions:
1.0.31.1.21.2.41.3.31.4.2
Product / Package Ecosystem Affected Versions Fixed Version
org.dojotoolkit:dojo
Maven
≥ 1.0.0
< 1.0.3
1.0.3
org.dojotoolkit:dojo
Maven
≥ 1.1.0
< 1.1.2
1.1.2
org.dojotoolkit:dojo
Maven
≥ 1.2.0
< 1.2.4
1.2.4
org.dojotoolkit:dojo
Maven
≥ 1.3.0
< 1.3.3
1.3.3
org.dojotoolkit:dojo
Maven
≥ 1.4.0
< 1.4.2
1.4.2

References

Frequently Asked Questions

What is CVE-2010-2274?
CVE-2010-2274 is a security vulnerability in Dojo involving Dojo Open Redirect vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Dojo versions are affected?
Affected versions include releases prior to 1.0.3, 1.1.2, 1.2.4, 1.3.3, 1.4.2 across affected packages: org.dojotoolkit:dojo.
What version fixes CVE-2010-2274?
Upgrading to 1.0.3, 1.1.2, 1.2.4, 1.3.3, 1.4.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is dojo affected?
Yes, org.dojotoolkit:dojo is affected in releases prior to 1.0.3, 1.1.2, 1.2.4, 1.3.3, 1.4.2. Upgrade your dependency to 1.0.3, 1.1.2, 1.2.4, 1.3.3, 1.4.2 or later.
What CWE is associated with CVE-2010-2274?
CVE-2010-2274 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Maven dependencies for CVE-2010-2274?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.dojotoolkit'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mmjh-45vj-hfvf",
  "modified" : "2024-02-08T15:49:12Z",
  "published" : "2022-05-17T05:50:10Z",
  "aliases" : [ "CVE-2010-2274" ],
  "summary" : "Dojo Open Redirect vulnerability",
  "details" : "Multiple open redirect vulnerabilities in Dojo 1.0.x before 1.0.3, 1.1.x before 1.1.2, 1.2.x before 1.2.4, 1.3.x before 1.3.3, and 1.4.x before 1.4.2 allow remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors, possibly related to dojo/resources/iframe_history.html, dojox/av/FLAudio.js, dojox/av/FLVideo.js, dojox/av/resources/audio.swf, dojox/av/resources/video.swf, util/buildscripts/jslib/build.js, util/buildscripts/jslib/buildUtil.js, and util/doh/runner.html.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.dojotoolkit:dojo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.dojotoolkit:dojo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.0"
      }, {
        "fixed" : "1.1.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.dojotoolkit:dojo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2.0"
      }, {
        "fixed" : "1.2.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.dojotoolkit:dojo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.3.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.dojotoolkit:dojo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.4.0"
      }, {
        "fixed" : "1.4.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-2274"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cometd/dojo-maven"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20100617172214/http://secunia.com/advisories/40007"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20100629020444/http://secunia.com/advisories/38964"
  }, {
    "type" : "WEB",
    "url" : "http://dojotoolkit.org/blog/post/dylan/2010/03/dojo-security-advisory"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21431472"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50833"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50849"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50856"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50896"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50932"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50958"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg1LO50994"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-08T15:49:12Z",
    "nvd_published_at" : "2010-06-15T14:30:00Z"
  }
}