A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Velociraptor is a tool for collecting host-based state information using Velociraptor Query Language (VQL) queries. Prior to 0.77.2, SQLPlugin.Call in vql/parsers/sql/sql.go does not enforce plugin-level FILESYSTEM_READ or NETWORK checks before the mysql and postgres branches pass a caller-controlled connstring to sql.Open, allowing arbitrary outbound database connections. With attacker-controlled MySQL connection options that enable local-infile access, a rogue MySQL server can request files readable by the Velociraptor server process, including root-readable files when that process runs as root. The SQLite file accessor still enforces FILESYSTEM_READ, but a low-privilege analyst with ANY_QUERY can use the zero-permission data accessor and ATTACH DATABASE to create files without the plugin-level check. This issue is fixed in version 0.77.2.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /Velocidex/velociraptor/commit/d7de958e846d3742a7a3a8538fd4…
- github.com /Velocidex/velociraptor/commit/f25390f8fbd00c888f0b7aaba2c0…
- github.com /Velocidex/velociraptor/pull/4952
- github.com /Velocidex/velociraptor/releases/tag/v0.77.2
- github.com /Velocidex/velociraptor/security/advisories/GHSA-9qq5-422f-…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning