id: mfiles-web-detect

info:
  name: M-Files Web Login Panel - Detect
  author: Nodauf
  severity: info
  description: M-Files Web login panel was detected.
  reference:
    - https://www.m-files.com/about/trust-center/security-advisories/
  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:m-files:m-files:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    product: m-files
    shodan-query: http.html:"M-Files Web"
    vendor: m-files
    verified: true
  tags: panel,m-files

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/Login.aspx"

    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: regex
        part: body
        regex:
          - '<title>(.*)M-Files Web(.*)</title>'

      - type: word
        part: body
        words:
          - 'M-Files user'
          - 'M-Files authentication'
        condition: or
# digest: 490a0046304402203eb7625961552bf97738f16398dde9367647e09e29afbcb6d7ecd5a3d147c317022073b3a7d3a87ed06eedef9a3eb2cae45bfb3911cbd80b3ff53533e916809cf530:922c64590222798bb761d5b6d8e72950