Description
Dataease is an open source data visualization analysis tool. Dataease prior to 1.15.2 has a deserialization vulnerability. In Dataease, the Mysql data source in the data source function can customize the JDBC connection parameters and the Mysql server target to be connected. In `backend/src/main/java/io/dataease/provider/datasource/JdbcProvider.java`, the `MysqlConfiguration` class does not filter any parameters. If an attacker adds some parameters to a JDBC url and connects to a malicious mysql server, the attacker can trigger the mysql jdbc deserialization vulnerability. Through the deserialization vulnerability, the attacker can execute system commands and obtain server privileges. Version 1.15.2 contains a patch for this issue.
Remediation
References
https://github.com/dataease/dataease/commit/956ee2d6c9e81349a60aef435efc046888e10a6d
https://github.com/dataease/dataease/pull/3328
https://github.com/dataease/dataease/releases/tag/v1.15.2
https://github.com/dataease/dataease/security/advisories/GHSA-q4qq-jhjv-7rh2
Related Vulnerabilities
CVE-2020-11612 Vulnerability in maven package io.netty:netty-codec
CVE-2015-0250 Vulnerability in maven package batik:batik-transcoder
CVE-2022-29546 Vulnerability in maven package org.codelibs:nekohtml
CVE-2021-23406 Vulnerability in npm package pac-resolver
CVE-2022-31160 Vulnerability in maven package org.webjars.npm:jquery-ui