Dell ControlVault3 CvManager_SBI buffer overflow vulnerability
A buffer overflow exists in the CvManager_SBI command dispatcher of Dell ControlVault3 firmware, where a command length up to 0x10080 is accepted but copied into a 4096-byte global buffer. An attacker with local access could overflow adjacent memory, including the Secure Code Descriptor, to forge the public key used to verify firmware updates and install a forged application firmware.
Originally disclosed on Cisco Talos
A buffer overflow vulnerability exists in the CvManagerSBI functionality of Dell ControlVault3 5.14.3.0 and 5.15.10.14, A31. A specially crafted ControlVault API call can lead to a arbitrary code execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The length check permits commands up to 0x10080 bytes while the destination global buffer cv_cmd_buffer is only 4096 bytes, so the memcpy overflows.
Impact
An attacker with local low-privilege access could achieve arbitrary code execution and forge a firmware update that the device would accept as valid.
What the attacker needed
Local low-privilege access to the device; no application firmware installed or upgrade in progress
How it was found
- A low-privilege user sends a crafted command blob to the ControlVault3 device through the userland dll and driver.
- The firmware reads the blob into the global command buffer and validates its parameters, accepting a transportLen up to 0x10080.
- CvManager_SBI copies the blob into the smaller cv_cmd_buffer using that length, overflowing adjacent global memory.
- The attacker uses the overflow to overwrite the Secure Code Descriptor's public key and forge a firmware update that is accepted as valid.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
ControlVault3 is a small security chip in some Dell computers that stores passwords and fingerprints. The chip's software checks how long an incoming command is, but the limit it allows is much larger than the space it copies the command into, so a long command spills over into neighbouring memory. Because that neighbouring memory holds the key used to check firmware updates, an attacker could replace that key and then install their own firmware.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.