id: projectsend-detect

info:
  name: ProjectSend Login Panel - Detect
  author: idealphase
  severity: info
  description: ProjectSend login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/7380
    - https://github.com/projectsend/projectsend
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
    cpe: cpe:2.3:a:projectsend:projectsend:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    google-query: intext:Provided by ProjectSend
    product: projectsend
    vendor: projectsend
  tags: tech,projectsend,edb,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - 'Provided by <a href="https?:\/\/www\.projectsend\.org\/" target="_blank">ProjectSend<\/a>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "version (.*) - Free software"
# digest: 490a0046304402201e9045ee4f287f2ef5b24c80c23339de5ded51b7cc9759ff3661774b3ba8a273022034d772f7f34671295279f334613d4801ca39afe7783b085729e81ad5b9089f9a:922c64590222798bb761d5b6d8e72950