CVE-2024-31848
published 2024-04-05CVE-2024-31848: A path traversal vulnerability exists in the Java version of CData API Server < 23.4.8844 when running using the embedded Jetty server, which could allow an…
PriorityP277critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
8.15%
94.1th percentile
A path traversal vulnerability exists in the Java version of CData API Server < 23.4.8844 when running using the embedded Jetty server, which could allow an unauthenticated remote attacker to gain complete administrative access to the application.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cdata | api_server | < 23.4.8844 | 23.4.8844 |
Detection & IOCsextracted from sources · hover to see the quote
sigma↗
shodan-query: "title:\"CData Connect\""
- →Detect path traversal attempts using backslash characters in URIs targeting /ui/..\src\getSettings.rsb — Jetty does not reject \ characters in URIs unlike Tomcat, making this the key exploit vector. ↗
- →Alert on HTTP 200 responses to requests for /ui/..\src\getSettings.rsb?@json containing JSON body fields 'items', 'notifyemail', and ':\"true\"' — these indicate successful unauthenticated settings disclosure. ↗
- →Inspect HTTP responses for Content-Disposition: attachment; filename=GetSettings.json header, which indicates successful exfiltration of application settings via path traversal. ↗
- →Flag requests where the URI contains a backslash sequence (e.g., /ui/..\src\) targeting CData API Server or CData Connect — this bypasses security constraints defined in web.xml as processed by the embedded Jetty server. ↗
- ·The path traversal exploit only works when CData API Server is deployed using the embedded Jetty server. Deployments on Tomcat are NOT vulnerable because Tomcat rejects backslash characters in URIs. ↗
- ·The vulnerability requires the Java version of CData API Server specifically; the embedded Jetty server version is the critical deployment condition for exploitability. ↗
- ·The exploit succeeds because CData applications lacked explicit session checks on a number of endpoints, compounding the path traversal issue — patching the traversal alone may not be sufficient if session validation is not enforced. ↗
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Nuclei
CData Connect < 23.4.8846 - Path Traversal
nuclei·CVSS 9.8
CVE-2024-31849 [CRITICAL] CData Connect < 23.4.8846 - Path Traversal
CData Connect < 23.4.8846 - Path Traversal
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.
Template:
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.
remed
Nuclei
CData API Server < 23.4.8844 - Path Traversal
nuclei·CVSS 9.8
CVE-2024-31848 [CRITICAL] CData API Server < 23.4.8844 - Path Traversal
CData API Server CData - API Server'
- 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: 4a0a00473045022058851d4ce95fa5d737b1df6d4cb527a169d3bfb96fb1946865ffa574a77e7ae3022100c18aff1ff239b708f5c528b0f24b849c500ffb827f09465ce194ef0d06edc1a4:922c64590222798bb761d5b6d8e72950
2024-04-05
Published