id: microsoft-azure-error

info:
  name: Microsoft Azure Web App - Error 404
  author: dhiyaneshDK
  severity: info
  classification:
    cpe: cpe:2.3:a:microsoft:azure_app_service_on_azure_stack:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microsoft
    product: azure_app_service_on_azure_stack
    shodan-query: title:"Microsoft Azure Web App - Error 404"
  tags: error,azure,microsoft,misc,takeover,miscellaneous

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>Microsoft Azure Web App - Error 404</title>"
          - "Custom domain has not been configured inside Azure. See how to map an existing domain to resolve this."
        condition: or

      - type: status
        status:
          - 404
# digest: 490a004630440220692ae6ba10b112c962b462c808ff4ad697c549461496a765eb3e61d75bd3797d0220246e0a2d065c12ae9275f3f2e8984f9a6575a9a9373a3fc1ff145b28c4f55928:922c64590222798bb761d5b6d8e72950