DataEase SQL Injection Vulnerability in Dataset Export Functionality

Vulnerability

A SQL injection vulnerability has been identified in DataEase versions prior to 2.10.21, specifically within the dataset export feature. The issue arises in the expressionTree parameter of the POST /de2api/datasetTree/exportDataset endpoint, where user-supplied values in 'like' filter terms are directly appended to SQL queries without proper sanitization. This flaw allows attackers to inject arbitrary SQL commands, potentially leading to blind SQL injection by exploiting time-based database information extraction techniques.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate SQL queries to execute arbitrary commands or extract sensitive database information.

Reproduction

To reproduce this vulnerability, send a POST request to the /de2api/datasetTree/exportDataset endpoint with a crafted expressionTree parameter. The payload should include a 'like' filter value that escapes the string literal, injecting SQL commands. If the injection is successful, a delay will be observed, indicating that the injected SQL command was executed.

Remediation

Users are advised to upgrade to DataEase version 2.10.21, where this vulnerability has been fixed.

Added: Apr 16, 2026, 6:27 PM
Updated: Apr 16, 2026, 6:27 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
4.6
remediation
7.7
relevance
6.0
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.