Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-7650 Overview
CVE-2024-7650 is a code injection vulnerability in OpenText™ Directory Services version 23.4. The flaw stems from improper control of code generation, classified under [CWE-94], and allows remote script injection against the affected service. Successful exploitation can grant an attacker access to the underlying system through injected scripts processed by the directory service.
The vulnerability is network-reachable and requires no authentication, though exploitation complexity is high. OpenText has published remediation guidance in its knowledge base for customers running Directory Services 23.4.
Critical Impact
Remote attackers can inject code into OpenText Directory Services 23.4, potentially achieving unauthorized system access without credentials.
Affected Products
- OpenText™ Directory Services 23.4
Discovery Timeline
- 2025-07-10 - CVE-2024-7650 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-7650
Vulnerability Analysis
The vulnerability is a Code Injection flaw in OpenText™ Directory Services 23.4. The product fails to properly control how code is generated from attacker-influenced input, enabling Remote Code Inclusion through script injection. An attacker reaching the service over the network can supply crafted input that the application interprets or executes as code rather than data.
Because Directory Services typically mediates authentication and identity data for downstream applications, injected code executes within a trust boundary that extends beyond the service itself. The vendor advisory describes the condition as script injection leading to system access, consistent with the [CWE-94] classification.
The EPSS probability for exploitation is approximately 0.316% at the 24th percentile, indicating low current prediction of active exploitation. No public proof-of-concept, exploit code, or inclusion on the CISA Known Exploited Vulnerabilities catalog has been reported.
Root Cause
The root cause is insufficient validation and sanitization of input used in dynamic code or script generation paths within Directory Services 23.4. Input intended as directory data is instead parsed and processed as executable script content, violating separation between code and data.
Attack Vector
Exploitation requires network access to the Directory Services endpoint. No prior authentication or user interaction is needed. The attacker submits a crafted request containing script content, which the service includes or evaluates during processing, resulting in code execution in the service context.
No verified proof-of-concept code is publicly available. Technical specifics are available in the OpenText Knowledge Base Article.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2024-7650
Indicators of Compromise
- Unexpected outbound connections originating from the Directory Services host process.
- Directory Services log entries containing script syntax, HTML tags, or encoded payloads in fields that normally hold directory attributes.
- New or modified files, scheduled tasks, or child processes spawned by the Directory Services service account.
- Authentication or LDAP queries from unknown sources immediately preceding anomalous process activity.
Detection Strategies
- Inspect HTTP and LDAP request bodies to Directory Services endpoints for script tags, template delimiters, and function calls.
- Baseline the Directory Services process tree and alert on any child process creation, which should be rare in normal operation.
- Correlate inbound requests to Directory Services with subsequent file writes, registry changes, or network callbacks on the same host.
Monitoring Recommendations
- Enable verbose request logging on the Directory Services host and forward logs to a central analytics platform.
- Monitor the service account used by Directory Services for interactive logons, privilege use, and lateral authentication events.
- Track outbound DNS and HTTP traffic from the Directory Services server against an allowlist of expected destinations.
How to Mitigate CVE-2024-7650
Immediate Actions Required
- Apply the fix documented in the OpenText Knowledge Base Article for Directory Services 23.4.
- Restrict network access to Directory Services endpoints to known administrative hosts and application servers.
- Review Directory Services logs for prior script injection attempts since the service was deployed.
Patch Information
OpenText has published remediation guidance in knowledge base article KB0844620. Administrators running Directory Services 23.4 should consult the vendor article for the specific patch, hotfix, or upgrade path and apply it according to vendor instructions. Refer to the OpenText Knowledge Base Article for authoritative version information.
Workarounds
- Place Directory Services behind a reverse proxy or web application firewall that strips script syntax and HTML entities from request parameters.
- Segment the Directory Services host into a restricted network zone with egress filtering to block arbitrary outbound connections.
- Run the Directory Services process under a least-privileged service account to limit the impact of successful code execution.
# Example firewall rule limiting inbound access to Directory Services
# Replace <mgmt_subnet> and <ds_port> with environment-specific values
iptables -A INPUT -p tcp -s <mgmt_subnet> --dport <ds_port> -j ACCEPT
iptables -A INPUT -p tcp --dport <ds_port> -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

