id: qualys-cloud-platform-login

info:
  name: Qualys Cloud Platform Login Panel - Detect
  author: rxerium
  severity: info
  description: Qualys Cloud Platform login panel was detected.
  reference:
    - https://www.qualys.com/cloud-platform/
  classification:
    cwe-id: CWE-200
  metadata:
    max-request: 2
    vendor: qualys
    product: qualys_cloud_platform
    shodan-query: http.title:"Qualys"
  tags: panel,qualys,cloud,login,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/fo/login.php"

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Qualys - Login</title>"
          - "<title>Qualys&reg;</title>"
        condition: or

      - type: word
        part: body
        words:
          - "top.location='fo/user_login.php'"
          - "/fo/user_login.php"
          - "id=\"myform_UserLogin\""
          - "/images/qualys/product.png"
        condition: or

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