Skip to content
OpenAdvisories
Medium · 4.3 CVE-2023-0290 EUVD-2023-0385GHSA-7jf5-fvgf-48c6GO-2023-1502

Rapid7 Velociraptor directory traversal in client ID parameter

Published Jan 18, 2023 · Updated Apr 3, 2025 · Assigned by rapid7

Description

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 COLLECT_SERVER permission is required. This permission is normally only granted to "administrator" role. Due to this issue, it is sufficient to have the COLLECT_CLIENT 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 products

VendorProductAffectedFixed
Rapid7 Velociraptor < 0.6.7-5 0.6.7-5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed velociraptor 0.6.7.5~git78.2bef6fc-2.1 openSUSE-SU-2024:12916-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go www.velocidex.com/golang/velociraptor < 0.6.7-5 0.6.7-5 GHSA-7jf5-fvgf-48c6

Advisories 1

References