id: appspace-panel

info:
  name: Appspace Login Panel - Detect
  author: ritikchaddha
  severity: info
  description: Appspace is the workplace experience platform for your whole team that lets you manage it all – from employee communications to your physical office spaces.
  reference:
    - https://www.appspace.com/
  classification:
    cpe: cpe:2.3:a:appspace:appspace:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: appspace
    product: appspace
    shodan-query:
      - title:"Appspace"
      - http.title:"appspace"
    fofa-query: title="appspace"
    google-query: intitle:"appspace"
  tags: appspace,panel,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/app/login.aspx"
      - "{{BaseURL}}/signin/#!/login?returnUrl=%2Fapp%2Fdefault.aspx"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '.appspace-ui'
          - 'appspace-logo'
          - '<title>Appspace</title>'
          - 'class="btnSSOAppspace'
          - 'Sign in to Appspace Core'
        condition: or
        case-insensitive: true

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