Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2024-10596

CVE-2024-10596: Esafenet CDG SQL Injection Vulnerability

CVE-2024-10596 is a critical SQL injection flaw in Esafenet CDG 5 affecting the delEntryptPolicySort function. Attackers can exploit this remotely to manipulate database queries. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

CVE-2024-10596 Overview

CVE-2024-10596 is a SQL injection vulnerability in ESAFENET CDG 5, a data protection and document encryption product. The flaw resides in the delEntryptPolicySort function of /com/esafenet/servlet/system/EncryptPolicyTypeService.java. An authenticated remote attacker can manipulate the id parameter to inject arbitrary SQL statements. The vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). Public disclosure occurred without vendor response, and the exploit details are available in third-party references.

Critical Impact

Remote authenticated attackers can inject SQL commands through the id parameter, potentially exposing or modifying data stored by the ESAFENET CDG encryption policy management system.

Affected Products

  • ESAFENET CDG version 5
  • Component: EncryptPolicyTypeService.java
  • Function: delEntryptPolicySort

Discovery Timeline

  • 2024-10-31 - CVE-2024-10596 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-10596

Vulnerability Analysis

The vulnerability exists in the ESAFENET CDG 5 web application, specifically in the encryption policy sorting functionality. The delEntryptPolicySort method in EncryptPolicyTypeService.java accepts an id parameter from HTTP requests and incorporates it directly into a SQL query without proper sanitization or parameterization. This design allows attackers to break out of the intended query context and append arbitrary SQL syntax.

Exploitation requires low-privilege authentication and can be performed over the network with low complexity. The impact spans confidentiality, integrity, and availability at a limited scope. Attackers can use time-based, boolean-based, or UNION-based injection techniques to extract database contents, modify encryption policy records, or disrupt service. The vendor did not respond to disclosure notifications according to VulDB, and no official patch has been publicly linked.

Root Cause

The root cause is improper input validation and unsafe SQL query construction. The id argument is concatenated into a dynamic SQL statement rather than bound as a parameter using prepared statements. Java applications using JDBC without PreparedStatement remain susceptible to this class of flaw. See the VulDB entry #282608 for additional context on the affected code path.

Attack Vector

An attacker with valid low-privilege credentials sends a crafted HTTP request to the endpoint backed by delEntryptPolicySort, supplying malicious SQL syntax in the id parameter. The application forwards the tainted value directly to the database engine, executing attacker-controlled statements under the application's database user. Because the attack vector is network-based, exploitation does not require local access or user interaction.

See the Flowus shared technical writeup referenced by VulDB for proof-of-concept details.

Detection Methods for CVE-2024-10596

Indicators of Compromise

  • HTTP requests to ESAFENET CDG endpoints containing SQL metacharacters such as ', --, UNION, SLEEP(, or SELECT in the id parameter.
  • Unexpected database errors or long response times originating from requests to EncryptPolicyTypeService endpoints.
  • Anomalous database activity from the CDG application account, including reads of information_schema or sys tables.

Detection Strategies

  • Deploy web application firewall (WAF) rules that inspect query and body parameters targeting /system/EncryptPolicyTypeService for SQL injection patterns.
  • Enable database query logging and alert on unparameterized queries originating from the CDG application referencing the encryption policy tables.
  • Correlate authenticated web sessions with abnormal request volume to sorting or deletion endpoints in the encryption policy module.

Monitoring Recommendations

  • Monitor authentication logs for low-privilege accounts making administrative-style requests to policy management endpoints.
  • Track outbound data volumes from the CDG database server to identify potential data exfiltration following injection.
  • Baseline normal parameter values for id fields and alert on non-numeric or oversized values.

How to Mitigate CVE-2024-10596

Immediate Actions Required

  • Restrict network access to the ESAFENET CDG management interface to trusted administrative networks only.
  • Rotate credentials for all CDG user accounts and enforce strong authentication to limit the pool of attackers who can reach the vulnerable endpoint.
  • Review database and application logs for historical evidence of SQL injection attempts against EncryptPolicyTypeService endpoints.

Patch Information

No vendor patch has been published at the time of writing. According to VulDB, the vendor was contacted but did not respond. Organizations running ESAFENET CDG 5 should contact the vendor directly for remediation guidance and monitor the VulDB record #282608 for updates.

Workarounds

  • Place the CDG application behind a WAF configured with SQL injection signatures targeting the id parameter on encryption policy endpoints.
  • Apply database-level least privilege so the CDG application account cannot access unrelated schemas or perform destructive operations.
  • Disable or block the delEntryptPolicySort endpoint at a reverse proxy if it is not required for daily operations.
  • Consider isolating the CDG server in a segmented network zone until an official fix is available.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.