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
    vendor: phpcollab
    product: phpcollab
    shodan-query:
      - http.title:"PhpCollab"
      - http.title:"phpcollab"
    fofa-query: title="phpcollab"
    google-query: intitle:"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: 4a0a00473045022100f2e2368532319dde4bf9c9d7b8269b54067ef81b707609d09ff2e4e897aa77fa02202e5c0eb8d59c197310358f2f5ab111315897fe2d739f63ce989aba096cd87c2c:922c64590222798bb761d5b6d8e72950