First published: Wed Dec 16 2020(Updated: )
osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. In osquery before version 4.6.0, by using sqlite's ATTACH verb, someone with administrative access to osquery can cause reads and writes to arbitrary sqlite databases on disk. This _does_ allow arbitrary files to be created, but they will be sqlite databases. It does not appear to allow existing non-sqlite files to be overwritten. This has been patched in osquery 4.6.0. There are several mitigating factors and possible workarounds. In some deployments, the people with access to these interfaces may be considered administrators. In some deployments, configuration is managed by a central tool. This tool can filter for the `ATTACH` keyword. osquery can be run as non-root user. Because this also limits the desired access levels, this requires deployment specific testing and configuration.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Linuxfoundation Osquery | <4.6.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-26273 is a vulnerability in osquery that allows someone with administrative access to cause reads and writes to arbitrary SQLite databases on disk.
The severity of CVE-2020-26273 is rated as medium with a CVSS score of 5.2.
If your osquery version is up to but exclusive of 4.6.0, then it is affected by CVE-2020-26273.
Yes, the vulnerability was addressed in osquery version 4.6.0.
Someone with administrative access can cause reads and writes to arbitrary SQLite databases on disk using the vulnerability.