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

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