Anyquery
Anyquery: Server-Side Request Forgery (SSRF) via Unrestricted SQLite Virtual Table Modules in Server Mode
Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server exposes URL-capable SQLite virtual table modules such as json_reader and log_reader through its unauthenticated MySQL-compatible server port without restricting outbound destinations. A remote attacker can provide a loopback, private-network, or link-local cloud metadata URL, causing go-getter in the Anyquery server process to fetch the selected resource and expose its response as queryable table data. This permits internal network probing, access to internal APIs, and disclosure of cloud credentials; low-integrity impact is possible when a reached internal API performs state-changing actions. This issue is fixed in version 0.4.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.4.5
Fixed in 0.4.5
Mitigation
Upgrade anyquery to 0.4.5 or later.
References
- Vendor advisory github.com/julien040/anyquery/security/advisor…
- Patch github.com/julien040/anyquery/commit/27f84fc16…
- Release notes github.com/julien040/anyquery/releases/tag/0.4…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.