Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Top Posters

Who's Online (1)

Powered by Vanilla. Made with Bootstrap.
Java 7 Applet Remote Code Execution
  • Phage
    Posts: 78
    Do you know Java? If you know Java it seems pretty logic.
  • no .

    Please if you could explain me how to add to metasploit or how to use this exploit that would be awesome .

      Thanks
  • Sh3llc0d3
    Posts: 1,910
    It's in metasploit! Update metasploit to the latest addition and it should be in there. I use Pro but I'm told it should also be in community addition.

    From your posted link...
    http://www.metasploit.com/modules/exploit/multi/browser/java_jre17_exec

    Go down to (apologies wouldn't let me remove the formatting):

    "Exploit Usage Information"

  • m0rph
    Posts: 332
    Too easy. Upon setting your options and typing "exploit" or "run" it will serve the exploit as a linked .jar file from an html page. After that, the victim will have to go to the link that metasploit provides and they will be compromised. This is a client-side exploit, so I really recommend using "exploit -j" to run it in the background instead of just "exploit"

    btw, don't use this on anyone without their permission. 

    Also, I fail to see how this is triggering any vulnerability. I looked through the code, and it's just a jar with a java encoded payload. There's no functions being targeted, there's no heaps or buffers being targeted...it's just a fucking encoded payload disguised as an archive that gets extracted by the applet. You could replace the jar file with anything you wanted to, and it would still do this.

    In other words, this isn't code that exploits a vulnerability...it's a smoke and mirrors trick that takes advantage of a design flaw. Java should have known better than to auto-extract archives from applets.
    while( !(succeed = try() ) );
  • Thanks for help . worked