جزئیات آسیبپذیری
CVE-2026-50006
Anyquery: Arbitrary File Write (AFW) which could lead to Remote Code Execution (RCE) via Unrestricted ATTACH DATABASE in Server Mode
شرح رسمی (انگلیسی)
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.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 9.1بحرانی | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| julien040 | anyquery | < 0.4.5 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۳- https://github.com/julien040/anyquery/commit/27f84fc168310455eaf81ec4ba87eed20298670c x_refsource_MISC
- https://github.com/julien040/anyquery/releases/tag/0.4.5 x_refsource_MISC
- https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx x_refsource_CONFIRM
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۶/۲۳
- آخرین بهروزرسانی
- ۱۴۰۵/۰۶/۲۴
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- بله
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-73External Control of File Name or Path
- CWE-284Improper Access Control
- CWE-434Unrestricted Upload of File with Dangerous Type
- CWE-862Missing Authorization