PT-2022-24894 · Dataease · Dataease

Aboutbo

·

Published

2022-10-18

·

Updated

2022-10-28

·

CVE-2022-39312

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Dataease versions prior to 1.15.2
Description The issue concerns a deserialization vulnerability in Dataease, specifically in the Mysql data source function where the JDBC connection parameters and the Mysql server target can be customized. The MysqlConfiguration class in backend/src/main/java/io/dataease/provider/datasource/JdbcProvider.java does not filter any parameters, allowing an attacker to add malicious parameters to a JDBC URL and connect to a malicious MySQL server. This can trigger the MySQL JDBC deserialization vulnerability, enabling the attacker to execute system commands and obtain server privileges.
Recommendations For versions prior to 1.15.2, upgrade to version 1.15.2 to patch the issue. As a temporary workaround, consider restricting access to the MysqlConfiguration class or disabling the customization of JDBC connection parameters to minimize the risk of exploitation. Avoid using the extraParams variable in the affected API endpoint until the issue is resolved.

Exploit

Fix

Deserialization of Untrusted Data

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-39312
GHSA-Q4QQ-JHJV-7RH2

Affected Products

Dataease