Advisory

GHSA-7jf5-fvgf-48c6

Also known as: CVE-2023-0290, GO-2023-1502

Summary

Velociraptor subject to Path Traversal

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-01-19 00:30 UTC
Modified
2024-08-20 20:58 UTC

Affected packages and fixes

www.velocidex.com/golang/velociraptor

Go · All systems

Affected

  • introduced 0, fixed 0.6.7-5 (semver)

Fixed versions

0.6.7-5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences