id: pomerium-detect

info:
  name: Pomerium Detect
  author: rxerium
  severity: info
  description: |
    A Pomerium SSO Panel was detected.
  reference:
    - https://www.pomerium.com/
  metadata:
    max-request: 1
    verified: true
    shodan-query: html:"pomerium"
  tags: pomerium,sso,detect,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}/.pomerium/index.js"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "https://pomerium.com/docs"
          - "https://discuss.pomerium.com"
        condition: and

      - type: word
        part: content_type
        words:
          - "text/javascript"

      - type: status
        status:
          - 200
# digest: 490a004630440220797a9ff5ef0bdbd2384cb82c8f63226a62a47d8d75c083dc4d265ca1ea92eb0102206aa70801c03f52577e0c069bf0751b5e330e85ee44e642c19512aa0b0003cce7:922c64590222798bb761d5b6d8e72950