Remote Code Execution in Dell iDRAC7 and iDRAC8
CVE-2018-1207 allows unauthenticated attackers to achieve root-level remote code execution on Dell iDRAC7 and iDRAC8 firmware versions 2.52.52.52 and below via dynamic linker injection.
CVE search metadata
CVE search record: CVE-2018-1207. Severity: critical. CVSS: 9.8. EPSS: 90.09%. KEV: no. Product: iDRAC7 (< 2.52.52.52), iDRAC8 (< 2.52.52.52). Brief: Remote Code Execution in Dell iDRAC7 and iDRAC8. Brief link: https://feed.craftedsignal.io/briefs/2026-09-cve-2018-1207-idrac-rce/
Dell iDRAC7 and iDRAC8 firmware versions 2.52.52.52 and below are vulnerable to a critical remote code execution (RCE) flaw tracked as CVE-2018-1207. The vulnerability exists within the web management interface, which fails to sanitize input parameters, allowing an attacker to manipulate environment variables for the dynamic linker. By leveraging the LD_DEBUG and LD_PRELOAD variables, an attacker can force the iDRAC web server process to load a malicious shared object (.so) file. Exploitation grants the attacker full root-level control over the management controller. The recent publication of functional PoC exploit scripts significantly increases the risk for organizations running legacy Dell PowerEdge server hardware that has not been updated to the recommended firmware versions.
Attack Chain
- The attacker probes the target iDRAC web interface at
/cgi-bin/loginusing theLD_DEBUG=filesquery parameter to confirm the device is vulnerable by observing debug output. - The attacker creates a malicious C payload designed to spawn a reverse shell.
- The payload is cross-compiled for the SH4 architecture using
sh4-linux-gnu-gccto produce a malicious shared object (.so) file. - The attacker uploads the malicious library to the target device by sending a
POSTrequest to the/cgi-bin/putfileendpoint, which writes the file to/tmp/sshpkauthupload.tmp. - The attacker triggers execution by sending a
GETrequest to/cgi-bin/discoverwith theLD_PRELOADenvironment variable set to the path of the uploaded library (/tmp/sshpkauthupload.tmp). - The iDRAC dynamic linker loads the malicious library before the application initializes, triggering the
constructorfunction within the library. - The injected code executes with root privileges, establishing a reverse shell connection back to the attacker-controlled listener.
Impact
Successful exploitation allows unauthenticated attackers to gain complete control over the iDRAC management controller. This leads to full system compromise, as the attacker can manipulate hardware power states, access stored data, exfiltrate credentials, and potentially pivot into the host operating system or the wider data center network. The vulnerability is highly exploitable, and the widespread use of iDRAC in enterprise environments makes this a significant risk for server infrastructure.
Recommendation
Prioritize the identification of all internet-facing or vulnerable internal iDRAC interfaces.
- Patch all affected Dell iDRAC7 and iDRAC8 devices to firmware version 2.52.52.52 or later immediately.
- Implement strict network segmentation to ensure iDRAC management interfaces are only accessible via trusted, restricted administrative networks.
- Monitor web server access logs for unusual
POSTrequests to/cgi-bin/putfileandGETrequests containingLD_DEBUGorLD_PRELOADquery parameters. - Deploy the provided Sigma rule to detect attempts at exploiting the dynamic linker injection path.
Immediate actions
Patch all Dell iDRAC7 and iDRAC8 devices to firmware version 2.52.52.52 or higher
Mitigations
Isolate iDRAC interfaces into a dedicated, non-routable management network
CVE-2018-1207
Detection coverage 1
Detects CVE-2018-1207 Exploitation - LD_PRELOAD Injection
criticalDetects attempts to exploit CVE-2018-1207 by monitoring for web requests containing LD_DEBUG or LD_PRELOAD parameters in the URI query.
Detection queries are available on the platform. Get full rules →