HexBrain

Browse / CVEs / CVE-2023-36347

CVE-2023-36347· codekop / codekop· CWE-306

POS Codekop v2.0 - Broken Authentication

highseverity
7.5CVSS score
34.1%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Implement proper authentication mechanisms and ensure secure user session management.

How to confirm it

Send: GET {{BaseURL}}/excel.php ; GET {{BaseURL}}/pos-kasir-php/excel.php
Positive when: contains "<title>Document" AND contains in header "application/vnd.ms-excel"

Run it with nuclei: nuclei -id CVE-2023-36347 -u <target>. This check is not marked as verified by its authors.

The full check
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.34054
    epss-percentile: 0.98412
    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"

Use this check only on systems you are authorised to test. Where the data comes from