{"cve":"CVE-2023-0242","nvd":{"published":"2023-01-18T21:15:11.093","modified":"2026-06-17T05:25:06.363","status":"Modified","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.\n\nThe 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.\n\nTo 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).\nThis 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().\n\nThis issue affects Velociraptor versions before 0.6.7-5. Version 0.6.7-5, released January 16, 2023, fixes the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-862","CWE-269"],"references":["https://docs.velociraptor.app/announcements/2023-cves/#:~:text=to%20upgrade%20clients.-,CVE%2D2023%2D0242,-Insufficient%20Permission%20Check","https://docs.velociraptor.app/announcements/2023-cves/#:~:text=to%20upgrade%20clients.-,CVE%2D2023%2D0242,-Insufficient%20Permission%20Check"],"products":["rapid7:velociraptor"],"source":"nvd","synced_at":"2026-10-19T21:37:34.931465858+00:00"},"epss":{"cve":"CVE-2023-0242","score":0.00559,"percentile":0.46548,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g5vm-525q-r66c","url":"https://osv.dev/vulnerability/GHSA-g5vm-525q-r66c","summary":"Velociraptor vulnerable to Missing Authorization","modified":"2024-08-20T20:58:47.661867Z","packages":[{"ecosystem":"Go","name":"www.velocidex.com/golang/velociraptor","purl":"pkg:golang/www.velocidex.com/golang/velociraptor","ranges":["<0.6.7-5"],"fixed":["0.6.7-5"]}]},{"id":"GO-2023-1527","url":"https://osv.dev/vulnerability/GO-2023-1527","summary":"Velociraptor vulnerable to Missing Authorization in www.velocidex.com/golang/velociraptor","modified":"2026-03-03T04:53:16.061979Z","packages":[{"ecosystem":"Go","name":"www.velocidex.com/golang/velociraptor","purl":"pkg:golang/www.velocidex.com/golang/velociraptor","ranges":["<0.6.7-5"],"fixed":["0.6.7-5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}