CyberRota Analysis
AI-GeneratedAuthenticated users with INSERT or UPDATE access to affected macOS virtual tables in the Anyquery SQL query engine can exploit a vulnerability in the Chrome plugin to execute arbitrary operating-system commands. This critical flaw arises from improper handling of SQL-controlled URLs, allowing attackers to inject malicious AppleScript or JXA code. Organizations using Anyquery prior to version 0.4.5, particularly those with macOS environments, should prioritize patching to mitigate the risk of unauthorized command execution.
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, authenticated users with INSERT or UPDATE access to affected macOS virtual tables can execute operating-system commands because the Chrome plugin and equivalent Brave, Edge, and Safari variants interpolate a SQL-controlled URL into AppleScript or JXA source passed to osascript. In plugins/chrome/tabs.go, tabsTable.Insert() passes the URL through fmt.Sprintf(newTabScript, url), and tabsTable.Update() uses fmt.Sprintf(setURLScript, pk, url). A URL containing quote and newline characters can break out of the intended string or property record and append script statements, resulting in arbitrary command execution with the privileges of the anyquery process on the macOS host. This issue is fixed in version 0.4.5.