
Proof-of-concept exploit for CVE-2017-12542, an authentication bypass vulnerability in HP iLO. Allows vulnerability detection and unauthorized account creation on affected systems
This repository contains a proof-of-concept exploit for CVE-2017-12542, an authentication bypass vulnerability affecting certain versions of HP Integrated Lights-Out (iLO) firmware.
The vulnerability allows unauthenticated access to the iLO REST API, which can be abused to enumerate accounts and, in vulnerable configurations, create a new administrative user.
CVE: CVE-2017-12542
Affected Product: HP iLO (multiple generations)
Impact:
Attack Vector: Network (HTTP/HTTPS)
Privileges Required: None (unauthenticated)
This issue was caused by improper handling of malformed HTTP headers in the iLO REST API.
requestscoloramaInstall dependencies:
pip install -r requirements.txt

This tool supports two primary modes:
Vulnerability check ('-c', "--check")
Determines whether the target iLO endpoint is affected by CVE-2017-12542.

Account creation attempt
Attempts to create a new administrative user on a vulnerable system.
