id: redhat-satellite-panel

info:
  name: Red Hat Satellite Panel - Detect
  author: princechaddha
  severity: info
  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:redhat:satellite:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"redhat" "Satellite"
    product: satellite
    vendor: redhat
  tags: panel,redhat,satellite

http:
  - method: GET
    path:
      - "{{BaseURL}}/users/login"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Satellite"
          - "redhat"
          - "LoginPage"
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '&quot;version&quot;:&quot;([0-9.]+)&quot;,'
# digest: 490a0046304402205130830727852fcf46de4386096e7d717c5193cbdadabf01bd7f61e31fb6919102206d2d497ac56ad75c3c2d966ed4a7db43aa088cde7756d1b11b0c60a4509ba416:922c64590222798bb761d5b6d8e72950