CVE-2024-41111:
Sliver Allows Authenticated Operator-to-Server Remote Code Execution
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53073%
CWE
Published
7/18/2024
Updated
8/2/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/bishopfox/sliver | go | >= 1.5.40, <= 1.6.0-dev | 1.6.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper neutralization of the '--advanced' parameter in the generate msf-stager command. The removed GenerateStagerCmd function accepted URI-encoded options that were parsed as msfvenom flags without validation, particularly allowing injection of the '--out' parameter to overwrite critical files. The VenomPayload function in msf.go directly incorporated these untrusted parameters into command execution. The patch completely removed these components, confirming their central role in the vulnerability. The command injection via cobra's flag parsing (before strict validation was added) enabled operators to bypass security boundaries through specially crafted payloads.