12.07.2015 Views

Bug Hunter Diary

Bug Hunter Diary

Bug Hunter Diary

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

05 06 arg = String(232, "A") + String(4, "B")07 obj.NewObject arg08 09 10 Listing 5-5: HTML file that passes an overly long string to the NewObject() method (webex_poc2.html )Then, I adjusted the little Python web server to serve the newHTML file.The original wwwserv.py:09 f = open(curdir + sep + "webex_poc1.html")The adjusted wwwserv.py:09 f = open(curdir + sep + "webex_poc2.html")I restarted the web server, loaded Internet Explorer in WinDbg,and navigated to http://www.webex.com/ again.As illustrated in Figure 5-11, I now had full control over EIP. Thebug could be easily exploited for arbitrary code execution using thewell-known heap spraying technique.Figure 5-11: EIP control of Internet ExplorerBrowse and You’re Owned 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!