CVE-2023-0242: Www.velocidex.com/golang/velociraptor Velociraptor Vulnerable To Missing Authorization Vulnerability
HIGHCVE-2023-0242 is a HIGH (CVSS 8.8) velociraptor vulnerable to missing authorization vulnerability (CWE-269: Improper Privilege Management) affecting Www.velocidex.com/golang/velociraptor libraries in the Go ecosystem. The issue involves velociraptor vulnerable to missing authorization. Remediation is available by upgrading affected packages to version 0.6.7-5.
CVE-2023-0242 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-0242
To remediate this vulnerability, upgrade all affected Www.velocidex.com/golang/velociraptor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade www.velocidex.com/golang/velociraptor to 0.6.7-5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for www.velocidex.com/golang/velociraptor
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-0242, inspect your project dependencies for Www.velocidex.com/golang/velociraptor:
inspect dependencies for www.velocidex.com/golang/velociraptor
Analyze the terminal output to locate any version of Www.velocidex.com/golang/velociraptor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.7-5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Www.velocidex.com/golang/velociraptor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-0242 Affected Www.velocidex.com/golang/velociraptor Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
www.velocidex.com/golang/velociraptor
|
Go |
< 0.6.7-5
|
0.6.7-5
|
References
Frequently Asked Questions
What is CVE-2023-0242?
Which Www.velocidex.com/golang/velociraptor versions are affected?
What version fixes CVE-2023-0242?
Is www.velocidex.com/golang/velociraptor affected?
What is the CVSS score of CVE-2023-0242?
What CWE is associated with CVE-2023-0242?
How can I check Go dependencies for CVE-2023-0242?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g5vm-525q-r66c",
"modified" : "2023-02-01T01:37:19Z",
"published" : "2023-01-18T21:30:21Z",
"aliases" : [ "CVE-2023-0242" ],
"summary" : "Velociraptor vulnerable to Missing Authorization",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "www.velocidex.com/golang/velociraptor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.7-5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0242"
}, {
"type" : "WEB",
"url" : "https://docs.velociraptor.app/announcements/2023-cves/#:~:text=to%20upgrade%20clients.-,CVE%2D2023%2D0242,-Insufficient%20Permission%20Check"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Velocidex/velociraptor"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269", "CWE-862" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-01T01:37:19Z",
"nvd_published_at" : "2023-01-18T21:15:00Z"
}
}