[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Apache Mina 2.0.13 - Remote Command Execution Exploit

Author
Gregory Draperi
Risk
[
Security Risk Critical
]
0day-ID
0day-ID-24773
Category
remote exploits
Date add
13-09-2016
Platform
multiple
Source: https://remoteawesomethoughts.blogspot.com/2016/09/apache-mina-2013-remote-command.html
 
Apache Mina 2.0.13 uses the OGNL library in the “IoSessionFinder” class. Its constructor takes into parameter one OGNL expression. Then this expression is executed when the method “find” is called. This class seems to be only used in the JMX MINA component “IoServiceMBean”. When the IOServiceMBean is exposed trough JMX it is possible to abuse the function to execute an arbitrary command on the server.
 
**PoC.zip**
https://drive.google.com/open?id=0ByB_ASBOdiURbVBHMjFxeldmSDg
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/40382-1.zip
 
**MinaJMXConsole.zip**
https://drive.google.com/file/d/0ByB_ASBOdiURQjVCTlYtREotVnM/view
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/40382-2.zip

#  0day.today [2024-09-28]  #