id: konga-panel

info:
  name: Konga Panel - Detect
  author: princechaddha
  severity: info
  description: Konga panel was detected.
  reference:
    - https://github.com/pantsel/konga
  classification:
    cvss-metrics: CVSS:3.1/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:pantsel:konga:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: pantsel
    product: konga
  tags: tech,konga,oss,panel,pantsel,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Konga</title>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'konga_version = "(.*)";'
# digest: 4a0a00473045022003a1c77bc6a9a44cec45f88aada8c998e1d17a7f403b4d3fe92130fed540230a022100c10376e67df37efab6a116d7c85ca3b6ded1d84d8865d665b8aa1a3b62947a99:922c64590222798bb761d5b6d8e72950