CVE-2010-0684: Activemq parent Cross-Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-mxf7-pv8q-294h
CWE-79
Published
Advisory Summary

CVE-2010-0684 is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Activemq parent libraries in the Maven ecosystem. The issue involves cross-site scripting in apache activemq. Remediation is available by upgrading affected packages to version 5.3.1.

CVE-2010-0684 at a Glance

CVE Identifier CVE-2010-0684
GHSA Identifier GHSA-mxf7-pv8q-294h
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Activemq parent
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2010-0684

To remediate this vulnerability, upgrade all affected Activemq parent 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.apache.activemq:activemq-parent fixed: 5.3.1
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-parent</artifactId>
    <version>5.3.1</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.apache.activemq

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.activemq

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

Note: The mvn dependency:tree -Dincludes=org.apache.activemq 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Activemq parent, 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

Cross-site scripting (XSS) vulnerability in createDestination.action in Apache ActiveMQ before 5.3.1 allows remote authenticated users to inject arbitrary web script or HTML via the JMSDestination parameter in a queue action.

CVE-2010-0684 Affected Activemq parent Versions

1 component(s)
Fixed Versions:
5.3.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.activemq:activemq-parent
Maven
< 5.3.1
5.3.1

References

NVD — CVE-2010-0684 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-0684
Security Fix Commit FIX COMMIT
https://github.com/apache/activemq/commit/1f464b9412e1b1c08d40c8ffac40edd52731da48
Security Fix Commit FIX COMMIT
https://github.com/apache/activemq/commit/2895197d0dad246757d8d1d9eea181cbf0543ae9
Security Fix Commit FIX COMMIT
https://github.com/apache/activemq/commit/fed39c3619825bd92990cf1aa7a4e85119e00a6e
exchange.xforce.ibmcloud.com/vulnerabilities/573... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/57397
Activemq parent Source Repository REPOSITORY
https://github.com/apache/activemq
issues.apache.org/activemq/browse/amq... WEB
https://issues.apache.org/activemq/browse/AMQ-2613
issues.apache.org/activemq/browse/amq... WEB
https://issues.apache.org/activemq/browse/AMQ-2625
web.archive.org/web/20100407054019/... WEB
https://web.archive.org/web/20100407054019/http://secunia.com/advisories/39223
Activemq parent Security Information SECURITY
https://web.archive.org/web/20101221101403/http://securitytracker.com/alerts/2010/Mar/1023778.html
Activemq parent Security Information SECURITY
https://web.archive.org/web/20200228042520/http://www.securityfocus.com/bid/39119
Activemq parent Security Information SECURITY
https://web.archive.org/web/20201130115007/http://www.securityfocus.com/archive/1/510419/100/0/threaded
activemq.apache.org/activemq-531-releas... WEB
http://activemq.apache.org/activemq-531-release.html
www.rajatswarup.com/cve-2010-0684.txt WEB
http://www.rajatswarup.com/CVE-2010-0684.txt

Frequently Asked Questions

What is CVE-2010-0684?
CVE-2010-0684 is a security vulnerability in Activemq parent involving Cross-site scripting in Apache ActiveMQ under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Activemq parent versions are affected?
Affected versions include releases prior to 5.3.1 across affected packages: org.apache.activemq:activemq-parent.
What version fixes CVE-2010-0684?
Upgrading to 5.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is activemq-parent affected?
Yes, org.apache.activemq:activemq-parent is affected in releases prior to 5.3.1. Upgrade your dependency to 5.3.1 or later.
What CWE is associated with CVE-2010-0684?
CVE-2010-0684 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Maven dependencies for CVE-2010-0684?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.activemq'. 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-mxf7-pv8q-294h",
  "modified" : "2024-02-21T19:00:54Z",
  "published" : "2022-05-02T06:14:45Z",
  "aliases" : [ "CVE-2010-0684" ],
  "summary" : "Cross-site scripting in Apache ActiveMQ",
  "details" : "Cross-site scripting (XSS) vulnerability in createDestination.action in Apache ActiveMQ before 5.3.1 allows remote authenticated users to inject arbitrary web script or HTML via the JMSDestination parameter in a queue action.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:activemq-parent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.3.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-0684"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/activemq/commit/1f464b9412e1b1c08d40c8ffac40edd52731da48"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/activemq/commit/2895197d0dad246757d8d1d9eea181cbf0543ae9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/activemq/commit/fed39c3619825bd92990cf1aa7a4e85119e00a6e"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/57397"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/activemq"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/activemq/browse/AMQ-2613"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/activemq/browse/AMQ-2625"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20100407054019/http://secunia.com/advisories/39223"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20101221101403/http://securitytracker.com/alerts/2010/Mar/1023778.html"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228042520/http://www.securityfocus.com/bid/39119"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201130115007/http://www.securityfocus.com/archive/1/510419/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://activemq.apache.org/activemq-531-release.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.rajatswarup.com/CVE-2010-0684.txt"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-21T18:44:09Z",
    "nvd_published_at" : "2010-04-05T16:30:00Z"
  }
}