CVE-2023-0242
published high CVSS 3.1 · 8.8Insufficient permission check in the VQL copy() function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Rapid7 | — | Velociraptor0 to < 0.6.7-5 (affected · semver); changes: unaffected at 5 · Other versions: unaffected · Platforms: Linux, Windows, MacOS, 64 bit, 32 bit | Version-specific | Not stated | rapid7 |
| SUSE / openSUSE | openSUSE-Tumbleweed | system-user-velociraptoraarch64 | Advisory build | 1.0.0-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | system-user-velociraptorppc64le | Advisory build | 1.0.0-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | system-user-velociraptors390x | Advisory build | 1.0.0-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | system-user-velociraptorx86_64 | Advisory build | 1.0.0-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.6.7.5~git78.2bef6fc-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.6.7.5~git78.2bef6fc-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.6.7.5~git78.2bef6fc-2.1 | OPENSUSE-SU-2024:12916-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.6.7.5~git78.2bef6fc-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptor-kafka-humio-gatewayaarch64 | Advisory build | 0.6.7.5~git78.2bef6fc-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptor-kafka-humio-gatewayppc64le | Advisory build | 0.6.7.5~git78.2bef6fc-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptor-kafka-humio-gateways390x | Advisory build | 0.6.7.5~git78.2bef6fc-2.1 | OPENSUSE-SU-2024:12916-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptor-kafka-humio-gatewayx86_64 | Advisory build | 0.6.7.5~git78.2bef6fc-2.1 | OPENSUSE-SU-2024:12916-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Rapid7 | Velociraptor | 0 to < 0.6.7-5 (affected · semver); changes: unaffected at 5Default: unaffected | rapid7 · cna |
Weaknesses
1- CWE-269 CWE-269 Improper Privilege Management
References
1Provider assertions
3rapid7 · cna
Insufficient permission check in the VQL copy() function
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 11e0b9df6e24da234c6ba993374967027251001709aa088ee4f8c1686607008c
- Ingested
- 23 Sep 2026, 08:04:58 UTC
- Source record
- Official CVE record