Digital Security Research Group [DSecRG] Advisory #DSECRG-09-008
------------------link to original advisory --------------------------
http://www.dsecrg.com/pages/vul/show.php?id=81
Application: JOnAS (Java Open Application Server)
Versions Affected: JOnAS(4.10.3) / Apache Tomcat (5.5.26)
Vendor URL: http://wiki.jonas.objectweb.org/
Bugs: Linked XSS
Exploits: YES
Reported: 21.01.2009
Vendor response: NONE
Second Reported: 29.01.2009
Vendor response: NONE
Date of Public Advisory: 25.02.2009
Author: Digital Security Research Group [DSecRG] (research [at] dsec [dot]
ru)
Description
JOnAS is a leading edge Open Source implementation by OW2 of the Java EE specification
Linked XSS vulnerability found in JOnAS engine.
Using this vulnerabilities attacker can steal admin's cookie and then
authentificate as administrator or perform certain administrative
actions.
Details
Linked XSS vulnerabilities found in script ListMBeanDetails.do. vulnerable parameter select.
In normal case "select" parameter looks like this:
select=jonas:j2eeType=EJBModule
when we try to include another variable with te same name, for example like this:
select=jonas:j2eeType=EJBModule,j2eeType=EJBModule
So we will see the error page which will tell us that "j2eeType" variable are also defined.
When we include javascipt code into variable name it will appear in error page:
select=jonas:j2eeType<script>alert()</script>=EJBModule,j2eeType<script>alert()</script>=EJBModule
Example
Fix Information
No patches aviable.
We did not get any response from vendor for more than 2 weeks.
About
Digital Security is leading IT security company in Russia, providing information security
consulting, audit and penetration testing services, risk analysis and ISMS-related services and
certification for ISO/IEC 27001:2005 and PCI DSS standards. Digital Security Research Group focuses
on web application and database security problems with vulnerability reports, advisories and
whitepapers posted regularly on our website.
Contact: research [at] dsecrg [dot] com
http://www.dsecrg.com
http://www.dsec.ru
Digital Security Research Group
DIGITAL SECURITY
phone: +7 812 703 1547
+7 812 430 9130
e-mail: [email protected]
www.dsecrg.com