جزئیات آسیبپذیری
CVE-2026-45272
MyBooks: Remote Code Execution via SOCIAL_AUTH Key Name Injection in Python Config File
شرح رسمی (انگلیسی)
MyBooks is an enhanced and easy-to-use personal ebook management web server also known as Talebook. In 3.41.2 and earlier, the AdminSettings.post handler in webserver/handlers/admin.py accepts SOCIAL_AUTH key names without validating quotes or newline characters, and SettingsLoader.dumpfile in webserver/loader.py concatenates those names into the generated Python source file auto.py without escaping them. An administrator can submit a crafted SOCIAL_AUTH key name that closes the settings dictionary and injects arbitrary Python statements. The application later executes those statements because SettingsLoader.loadfile imports auto.py as a module, and setting autoreload to true invokes restart_async so a process supervisor restarts the service and triggers the import. Successful exploitation executes commands with the privileges of the application service account and can disclose data, modify files, establish persistence, or disrupt the service. Related authorization and registration vulnerabilities can reduce the effective privilege requirement in a chained attack, but the standalone vulnerability requires administrator access. This issue is fixed in version 3.42.0.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 9.4بحرانی | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| PoxenStudio | talebook | < 3.42.0 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۳- https://github.com/PoxenStudio/mybooks/security/advisories/GHSA-4wfr-9gcv-j638 x_refsource_CONFIRM
- https://github.com/PoxenStudio/mybooks/commit/a1780c98b00566af7da2fc099fe38500efc02e92 x_refsource_MISC
- https://github.com/PoxenStudio/mybooks/releases/tag/3.42.0 x_refsource_MISC
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۵/۲۸
- آخرین بهروزرسانی
- ۱۴۰۵/۰۵/۲۸
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- ندارد
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-94Improper Control of Generation of Code ('Code Injection')
- CWE-829Inclusion of Functionality from Untrusted Control Sphere