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

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: 4a0a004730450221008eeb9fb0fcbe27bac2dfc85c313019b34b1cd78d1577e679777d97fc1801499e02207c8b11042473071ae7f49b6da867e5d58ffca46498e2b19886066f59743cd765:922c64590222798bb761d5b6d8e72950