id: phpcollab-panel

info:
  name: phpCollab Login Panel - Detect
  author: pikpikcu
  severity: info
  description: phpCollab login panel was detected.
  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:phpcollab:phpcollab:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: phpcollab
    shodan-query: http.title:"PhpCollab"
    vendor: phpcollab
  tags: panel,phpcollab,login

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>PhpCollab</title>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<p id="footer">(.*)</p>'
# digest: 4b0a00483046022100f7d0d16881dda186c9d78392eb059adf50897460f88723bee36ba458e15432e5022100d8ebe7ed0e5950984723408a8bba752b6d1b25bb1151d265df38288e1f8daa7c:922c64590222798bb761d5b6d8e72950