Skip to main content

Velociraptor CVE-2023-0242

HIGH
Improper Privilege Management (CWE-269)
2023-01-18 cve@rapid7.com
8.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
CVE Published
Jan 18, 2023 - 21:15 nvd
HIGH 8.8

DescriptionNVD

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.

AnalysisAI

Rapid7 Velociraptor allows users to be created with different privileges on the server. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

Technical ContextAI

This vulnerability is classified as Improper Privilege Management (CWE-269), which allows attackers to escalate privileges to gain unauthorized elevated access. 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().6.7-5. Version 0.6.7-5, released January 16, 2023, fixes the issue. Affected products include: Rapid7 Velociraptor. Version information: before 0.6.7.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Apply principle of least privilege, validate privilege transitions, implement proper role separation.

CVE-2025-6264 MEDIUM POC
5.5 Jun 20

Velociraptor allows collection of VQL queries packaged into Artifacts from endpoints. These artifacts can be used to do

CVE-2026-5329 HIGH
8.5 Apr 09

Remote code execution in Rapid7 Velociraptor server (primarily Linux) allows authenticated clients to write malicious me

CVE-2026-6290 HIGH
8.0 Apr 15

Velociraptor versions prior to 0.76.3 contain a vulnerability in the query() plugin which allows access to all orgs with

CVE-2023-5950 MEDIUM
6.1 Nov 06

Rapid7 Velociraptor versions prior to 0.7.0-4 suffer from a reflected cross site scripting vulnerability. Rated medium s

CVE-2022-35630 MEDIUM
6.1 Jul 29

A cross-site scripting (XSS) issue in generating a collection report made it possible for malicious clients to inject Ja

CVE-2022-35631 MEDIUM
5.5 Jul 29

On MacOS and Linux, it may be possible to perform a symlink attack by replacing this predictable file name with a symlin

CVE-2022-35629 MEDIUM
5.4 Jul 29

Due to a bug in the handling of the communication between the client and server, it was possible for one client, already

CVE-2023-2226 MEDIUM
5.3 Apr 21

Due to insufficient validation in the PE and OLE parsers in Rapid7's Velociraptor versions earlier than 0.6.8 allows att

CVE-2026-7573 MEDIUM
5.0 May 06

Authorization bypass in the GetUserRoles gRPC API endpoint in Velocidex Velociraptor below version 0.76.5 allows authent

CVE-2022-35632 MEDIUM
4.8 Jul 29

The Velociraptor GUI contains an editor suggestion feature that can display the description field of a VQL function, plu

CVE-2021-3619 MEDIUM
4.8 Jul 22

Rapid7 Velociraptor 0.5.9 and prior is vulnerable to a post-authentication persistent cross-site scripting (XSS) issue,

CVE-2023-0290 MEDIUM
4.3 Jan 18

Rapid7 Velociraptor did not properly sanitize the client ID parameter to the CreateCollection API, allowing a directory

Share

CVE-2023-0242 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy