CVE-2023-0290: Rapid7 Velociraptor directory traversal in client ID parameter
Rapid7 Velociraptor did not properly sanitize the client ID parameter to the CreateCollection API, allowing a directory traversal in where the collection task could be written. It was possible to provide a client id of "../clients/server" to schedule the collection for the server (as a server artifact), but only require privileges to schedule collections on the client.
Normally, to schedule an artifact on the server, the COLLECTSERVER permission is required. This permission is normally only granted to "administrator" role. Due to this issue, it is sufficient to have the COLLECTCLIENT privilege, which is normally granted to the "investigator" role. To exploit this vulnerability, the attacker must already have a Velociraptor user account at least "investigator" level, and be able to authenticate to the GUI and issue an API call to the backend. Typically, most users deploy Velociraptor with limited access to a trusted group, and most users will already be administrators within the GUI.
This issue affects Velociraptor versions before 0.6.7-5. Version 0.6.7-5, released January 16, 2023, fixes the issue.
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID is CVE-2023-0290.
What is the severity of CVE-2023-0290?
The severity of CVE-2023-0290 is medium with a severity value of 4.3.
What software is affected by CVE-2023-0290?
Rapid7 Velociraptor version 0.6.7-5 is affected by CVE-2023-0290.
What is the Common Weakness Enumeration (CWE) ID for CVE-2023-0290?
The CWE ID for CVE-2023-0290 is CWE-22.
Is there a fix available for CVE-2023-0290?
Yes, please refer to the references for more information on how to fix this vulnerability.