activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <>
Subject [jira] Resolved: (AMQ-2700) Apache ActiveMQ is prone to source code disclosure vulnerability.
Date Wed, 21 Apr 2010 10:19:17 GMT


Dejan Bosanac resolved AMQ-2700.

    Fix Version/s: 5.4.0
       Resolution: Fixed

I confirmed this issue exists in 5.3.1 version, however it seems to be solved in trunk (5.4-snapshot)
due to upgrade of jetty to 7.x.

After a bit of investigation it turns out to be a problem with Jetty's ResourceHandler. To
work around this problem in 5.3.1, follow these steps:

1. go to the {{${ACTIVEMQ_HOME}/webapps}} dir
2. make new dir called static - {{mkdir static}}
3. move index.html file there - {{mv index.html static/}}
4. change ResourceHandler to use {{static}} dir . To do that, edit {{${ACTIVEMQ_HOME/conf/jetty.xml}}
and change ResourceHandler definition to 

{code}<bean class="org.mortbay.jetty.handler.ResourceHandler">
  <property name="welcomeFiles">
  <property name="resourceBase" value="${activemq.base}/webapps/static"/>

> Apache ActiveMQ is prone to source code disclosure vulnerability.
> -----------------------------------------------------------------
>                 Key: AMQ-2700
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.1
>         Environment: Linux/Windows environment
>            Reporter: Veerendra G.G
>            Assignee: Dejan Bosanac
>            Priority: Critical
>             Fix For: 5.4.0
>         Attachments: SECPOD_ActiveMQ.txt
> An input validation error is present in Apache ActiveMQ. Adding '//' after the
> port in an URL causes it to disclose the JSP page source.
> This has been tested on various admin pages,
> admin/index.jsp, admin/queues.jsp, admin/topics.jsp etc.
> NOTE : Refer attached file for complete information/advisory.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message