CVE-2024-56511

9.8 CRITICAL

📋 TL;DR

This vulnerability allows attackers to bypass authentication in DataEase by exploiting a path traversal flaw in the whitelist validation logic. When the application is deployed with a custom context path, attackers can access protected interfaces without authentication. All DataEase deployments prior to version 2.10.4 are affected.

💻 Affected Systems

Products:
  • DataEase
Versions: All versions prior to 2.10.4
Operating Systems: All
Default Config Vulnerable: ✅ No
Notes: Only vulnerable when deployed with custom 'server.servlet.context-path' configuration

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise allowing unauthorized access to all data visualization dashboards, sensitive data exposure, and potential data manipulation or deletion.

🟠

Likely Case

Unauthorized access to protected dashboards and data sources, leading to data exfiltration and privacy violations.

🟢

If Mitigated

Limited impact with proper network segmentation and access controls, but still potential for unauthorized data viewing.

🌐 Internet-Facing: HIGH
🏢 Internal Only: HIGH

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires knowledge of the custom context path, but the bypass technique is straightforward once known

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.10.4

Vendor Advisory: https://github.com/dataease/dataease/security/advisories/GHSA-9f69-p73j-m73x

Restart Required: Yes

Instructions:

1. Backup your DataEase instance and data. 2. Download version 2.10.4 or later from the official repository. 3. Replace the existing installation with the patched version. 4. Restart the DataEase service.

🔧 Temporary Workarounds

Remove custom context path

all

Deploy DataEase without setting 'server.servlet.context-path' configuration parameter

Remove or comment out 'server.servlet.context-path' from application configuration files

Network access restriction

linux

Restrict access to DataEase web interface using firewall rules

iptables -A INPUT -p tcp --dport 8080 -s trusted_network -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

🧯 If You Can't Patch

  • Implement strict network segmentation and only allow trusted IP addresses to access the DataEase interface
  • Deploy a web application firewall (WAF) with path traversal protection rules

🔍 How to Verify

Check if Vulnerable:

Check if running DataEase version < 2.10.4 AND has custom context path configured in application properties

Check Version:

Check DataEase web interface footer or application logs for version information

Verify Fix Applied:

Verify version is 2.10.4 or later and test authentication bypass attempts with /geo/../context-path/ patterns

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests containing '/geo/../' patterns
  • Authentication failures followed by successful access to protected resources
  • Requests with unusual path traversal sequences

Network Indicators:

  • HTTP requests with path traversal sequences targeting DataEase endpoints
  • Unauthenticated access to normally protected API endpoints

SIEM Query:

source="dataease" AND (uri="*geo*" OR uri="*../*") AND response_code=200

🔗 References

📤 Share & Export