id: hp-ilo-serial-key-disclosure

info:
  name: HP iLO Serial Key - Detect
  author: dhiyaneshDk
  severity: medium
  description: HP iLO serial key was detected.
  reference:
    - https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/hp-ilo-serial-key-disclosure.json
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: exposure,config,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/xmldata?item=CpqKey"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "LTYPE"
          - "LNAME"
          - "KEY"
        part: body
        condition: and

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