Vulnerability Details : CVE-2020-26273
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.
Products affected by CVE-2020-26273
- cpe:2.3:a:linuxfoundation:osquery:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-26273
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 28 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-26273
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.6
|
LOW | AV:L/AC:L/Au:N/C:P/I:P/A:N |
3.9
|
4.9
|
NIST | |
5.2
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
2.0
|
2.7
|
NIST | |
5.2
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
2.0
|
2.7
|
GitHub, Inc. |
CWE ids for CVE-2020-26273
-
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2020-26273
-
https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/SQL%20Injection/SQLite%20Injection.md#remote-command-execution-using-sqlite-command---load_extension
PayloadsAllTheThings/SQLite Injection.md at master · swisskyrepo/PayloadsAllTheThings · GitHubExploit;Third Party Advisory
-
https://github.com/osquery/osquery/releases/tag/4.6.0
Release 4.6.0 · osquery/osquery · GitHubRelease Notes;Third Party Advisory
-
https://github.com/osquery/osquery/commit/c3f9a3dae22d43ed3b4f6a403cbf89da4cba7c3c
Merge pull request from GHSA-4g56-2482-x7q8 · osquery/osquery@c3f9a3d · GitHubPatch;Third Party Advisory
-
https://github.com/osquery/osquery/security/advisories/GHSA-4g56-2482-x7q8
sqlite ATTACH allows some filesystem access · Advisory · osquery/osquery · GitHubExploit;Third Party Advisory
Jump to