Description
KindleEar 3.0.0 through 3.5.3 contains a remote code execution vulnerability that allows authenticated non-admin users to run Python code by uploading malicious recipes. Attackers can submit crafted recipe source to the /recipe/upload action, which calibre compile_recipe executes via exec() without sandboxing, gaining root code execution in the Docker container and access to password hashes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cdhigh | KindleEar | 3.0.0 – ≤ 3.5.3 | — |
References
- https://github.com/cdhigh/KindleEar/issues/753 issue-tracking
- https://github.com/cdhigh/KindleEar/commit/3ef6fbed527453b1b64c610e1fb880144fa7ec00 patch
- https://github.com/cdhigh/KindleEar/blob/62cb25fdd2e9760ea26317b324f35f6ed2b49c53/application/view/subscribe.py#L344-L347 technical-description
- VulnCheck Advisory: KindleEar 3.0.0 through 3.5.3 Authenticated RCE via Recipe Upload third-party-advisory