we care because you do

Apache ActiveMQ Persistent Cross-Site Scripting

Apache ActiveMQ Persistent Cross-Site Scripting
Posted Apr 1, 2010
Authored by Rajat Swarup | Site activemq.apache.org

Remote unauthenticated exploitation of an input validation vulnerability in Apache Software Foundation's ActiveMQ server could allow an attacker to perform a stored or persistent cross-site scripting (XSS) attack.

tags | advisory, remote, xss
advisories | CVE-2010-0684
MD5 | 120a93a37c3ceb14995b35370a832550

Apache ActiveMQ Persistent Cross-Site Scripting

Change Mirror Download
CVE-2010-0684: Apache ActiveMQ Persistent Cross-Site Scripting (XSS)
Vulnerability
==============================================================

Security Advisory 03.30.2010

I. BACKGROUND

Apache ActiveMQ is the most popular and powerful open source
messaging and Integration Patterns provider.

http://activemq.apache.org/

II. DESCRIPTION

Remote unauthenticated exploitation of an input validation
vulnerability in Apache Software Foundation's ActiveMQ server could
allow an attacker to perform a
stored or persistent cross-site scripting (XSS) attack. The code
responsible for parsing HTTP requests is vulnerable to an XSS
vulnerability. When parsing the JMSDestination parameter from a GET
request to /createDestination.action page, the value of this variable
is directly inserted into the HTML code that can be accessed by using
URLs such as /queues.jsp. This allows an attacker to run arbitrary
JavaScript in the context of the affected domain of the ActiveMQ
administration console.

III. ANALYSIS

Successful exploitation of this vulnerability allows an attacker to
conduct an XSS attack on a user. This could allow an attacker to steal
cookies, inject content into pages, or submit requests using the
user's credentials. To exploit this vulnerability, an attacker must
send malicious request to the vulnerable Active MQ server such as the
following request:
http://www.example.com/createDestination.action?JMSDestination=[XSS_PAYLOAD]
Once this request is sent, anyone accessing the ActiveMQ queues would
have the XSS payload executed in the context of the browser session
being used to browse using a URL such as:
http://www.example.com/queues.jsp

IV. DETECTION

The author and Apache Software Foundation's ActiveMQ group has
confirmed this vulnerability.

V. WORKAROUND

The author is currently unaware of any workaround for this issue but
fix has been released by the vendor.

VI. VENDOR RESPONSE

The Apache Software Foundation ActiveMQ team has addressed this
vulnerability by releasing version 5.3.1 of ActiveMQ.
More information can be found at the following URL.
http://issues.apache.org/activemq/browse/AMQ-2613

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned
the name CVE-2010-0684 to this issue. This is a candidate for
inclusion in the CVE list (http://cve.mitre.org/), which standardizes
names for security problems.

VIII. DISCLOSURE TIMELINE

02/17/2010 Initial vendor notification
02/17/2010 Initial vendor response
02/23/2010 Vendor Fix committed to SVN
03/24/2010 ActiveMQ 5.3.1 publicly released to fix the issue
03/30/2010 Coordinated public disclosure

IX. CREDIT

This vulnerability was reported by Rajat Swarup (http://www.rajatswarup.com).

X. ACKNOWLEDGEMENT

The author wishes to thank Rob Davies and Dejan Bosanac of Apache
ActiveMQ team for fixing the issues on a high priority.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    11 Files
  • 27
    May 27th
    8 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close