CVE-2023-0242

CVSS V2 None CVSS V3 None
Description
Rapid7 Velociraptor allows users to be created with different privileges on the server. Administrators are generally allowed to run any command on the server including writing arbitrary files. However, lower privilege users are generally forbidden from writing or modifying files on the server. The VQL copy() function applies permission checks for reading files but does not check for permission to write files. This allows a low privilege user (usually, users with the Velociraptor "investigator" role) to overwrite files on the server, including Velociraptor configuration files. To exploit this vulnerability, the attacker must already have a Velociraptor user account at a low privilege level (at least "analyst") and be able to log into the GUI and create a notebook where they can run the VQL query invoking the copy() VQL function. Typically, most users deploy Velociraptor with limited access to a trusted group (most users will be administrators within the GUI). This vulnerability is associated with program files https://github.Com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go https://github.Com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go and program routines copy(). This issue affects Velociraptor versions before 0.6.7-5. Version 0.6.7-5, released January 16, 2023, fixes the issue.
Overview
  • CVE ID
  • CVE-2023-0242
  • Assigner
  • cve@rapid7.con
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2023-01-18T21:15:11
  • Last Modified Date
  • 2023-01-30T13:54:50
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:rapid7:velociraptor:*:*:*:*:*:*:*:* 1 OR 0.6.7-5
History
Created Old Value New Value Data Type Notes
2023-01-18 22:14:34 Added to TrackCVE
2023-01-18 22:14:35 Weakness Enumeration new
2023-01-19 00:18:25 2023-01-18T23:38:41 CVE Modified Date updated
2023-01-19 00:18:25 Received Awaiting Analysis Vulnerability Status updated
2023-01-25 20:13:49 Awaiting Analysis Undergoing Analysis Vulnerability Status updated
2023-01-30 15:14:14 2023-01-30T13:54:50 CVE Modified Date updated
2023-01-30 15:14:14 Undergoing Analysis Analyzed Vulnerability Status updated
2023-01-30 15:14:15 Weakness Enumeration update
2023-01-30 15:14:16 CPE Information updated