id: hp-service-manager

info:
  name: HP Service Manager Login Panel - Detect
  author: dhiyaneshDK
  severity: info
  description: HP Service Manager login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:hp:service_manager:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: hp
    product: service_manager
    shodan-query:
      - http.title:"HP Service Manager"
      - http.title:"hp service manager"
    fofa-query: title="hp service manager"
    google-query: intitle:"hp service manager"
  tags: panel,hp,service,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/sm935/index.do'
      - '{{BaseURL}}/sm/ess.do'

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - '(?m)<title>HP Service Manager(.*)<\/title>'

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