Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server exposes file-backed SQLite virtual table modules such as csv_reader and log_reader through its MySQL-compatible server port without authentication, authorization, or directory restrictions. A remote attacker can use SQLite CREATE VIRTUAL TABLE statements to provide a local path to these modules, which use hashicorp/go-getter under the Anyquery server process and return the selected file contents as queryable table rows. The disclosure is limited only by the filesystem permissions of the server process and can expose system configuration, credentials, and private keys. This issue is fixed in version 0.4.5.
Description as published by the source, in English.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK.
This shows which techniques the weakness class is historically used for.
It does not assert that this vulnerability has been exploited that way.
T1003: OS Credential Dumping credential-access
T1014: Rootkit stealth
T1027: Obfuscated Files or Information stealth
T1027.009: Embedded Payloads stealth
T1037: Boot or Logon Initialization Scripts persistence, privilege-escalation
T1039: Data from Network Shared Drive collection
T1080: Taint Shared Content lateral-movement
T1119: Automated Collection collection
T1211: Exploitation for Stealth stealth
T1213: Data from Information Repositories collection