CyberRota Analysis
AI-GeneratedAnyquery versions prior to 0.4.5 are vulnerable to unauthenticated SQL injection, allowing remote attackers to manipulate filesystem paths and create or overwrite database files. This can lead to filesystem integrity loss and potential denial of service, with a risk of remote code execution if the created files are processed by another service. Organizations using Anyquery should prioritize upgrading to version 0.4.5 to mitigate these critical vulnerabilities.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server forwards unauthenticated SQL from its MySQL-compatible server port to SQLite without restricting ATTACH DATABASE filesystem targets. A remote attacker can select any path writable by the Anyquery server process, cause SQLite to create a database file there, and place attacker-controlled table content in that file. This permits arbitrary file creation or overwrite, causing filesystem integrity loss and denial of service; remote code execution is possible only when another service interprets the written file or the process has a suitably privileged writable target. This issue is fixed in version 0.4.5.