{"id":26207,"date":"2016-09-16T15:44:54","date_gmt":"2016-09-16T08:44:54","guid":{"rendered":"http:\/\/deepquest.code511.com\/blog\/2016\/09\/apache-mina-2-0-13-remote-command-execution\/"},"modified":"2016-09-16T15:44:54","modified_gmt":"2016-09-16T08:44:54","slug":"apache-mina-2-0-13-remote-command-execution","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2016\/09\/apache-mina-2-0-13-remote-command-execution\/","title":{"rendered":"Apache Mina 2.0.13 Remote Command Execution"},"content":{"rendered":"<p>Apache Mina 2.0.13 uses the OGNL library in the &#8220;IoSessionFinder&#8221; class. Its constructor takes into parameter one OGNL expression. Then this expression is executed when the method &#8220;find&#8221; is called. This class seems to be only used in the JMX MINA component &#8220;IoServiceMBean&#8221;. When the IOServiceMBean is exposed trough JMX it is possible to abuse the function to execute an arbitrary command on the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache Mina 2.0.13 uses the OGNL library in the &#8220;IoSessionFinder&#8221; class. Its constructor takes into parameter one OGNL expression. Then this expression is executed when the method &#8220;find&#8221; is called&#8230;.<\/p>\n","protected":false},"author":439,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-26207","post","type-post","status-publish","format-standard","hentry","category-exploit"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-6OH","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/26207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/439"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=26207"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/26207\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=26207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=26207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=26207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}