CVE-2024-10069

6.3 MEDIUM

📋 TL;DR

This critical SQL injection vulnerability in ESAFENET CDG 5 allows remote attackers to execute arbitrary SQL commands by manipulating the 'id' parameter in the MailDecryptApplicationService. Organizations using ESAFENET CDG 5 are affected, potentially exposing sensitive database information to unauthorized access.

💻 Affected Systems

Products:
  • ESAFENET CDG 5
Versions: All versions of ESAFENET CDG 5 (specific version range not specified in disclosure)
Operating Systems: Any OS running ESAFENET CDG 5
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the default configuration of the MailDecryptApplicationService component.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data exfiltration, privilege escalation, and potential remote code execution through database functions.

🟠

Likely Case

Unauthorized access to sensitive email and application data stored in the database, potentially including user credentials and confidential information.

🟢

If Mitigated

Limited impact with proper input validation and database permission restrictions in place.

🌐 Internet-Facing: HIGH - The vulnerability can be exploited remotely, making internet-facing instances particularly vulnerable to attack.
🏢 Internal Only: MEDIUM - Internal instances are still vulnerable to insider threats or compromised internal systems.

🎯 Exploit Status

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

Exploit details have been publicly disclosed, making weaponization likely. The SQL injection vulnerability is typically straightforward to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available - vendor did not respond to disclosure

Restart Required: No

Instructions:

No official patch available. Consider implementing workarounds or migrating to alternative solutions.

🔧 Temporary Workarounds

Web Application Firewall (WAF) Rules

all

Implement WAF rules to block SQL injection patterns targeting the /com/esafenet/servlet/client/MailDecryptApplicationService endpoint

Input Validation Filter

all

Add input validation to sanitize the 'id' parameter before processing

🧯 If You Can't Patch

  • Isolate the ESAFENET CDG 5 system from internet access and restrict internal network access
  • Implement database-level protections: use least privilege accounts, enable SQL injection prevention features

🔍 How to Verify

Check if Vulnerable:

Test the MailDecryptApplicationService endpoint with SQL injection payloads in the 'id' parameter

Check Version:

Check ESAFENET CDG 5 version through administrative interface or configuration files

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and that input validation is properly implemented

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts or parameter manipulation in application logs

Network Indicators:

  • Unusual traffic patterns to /com/esafenet/servlet/client/MailDecryptApplicationService
  • SQL error messages in HTTP responses

SIEM Query:

source="application_logs" AND ("MailDecryptApplicationService" AND (sql OR injection OR "id parameter"))

🔗 References

📤 Share & Export