published 2 May 2024 · updated 1 Aug 2024
Arbitrary code execution in CraftBeerPi 4
9.8CriticalCVSS 9.8EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 4.4.1.a1 (commit 57572c7).
URL GET parameter "logtime" utilized within the "downloadlog" function from "cbpi/http_endpoints/http_system.py" is subsequently passed to the "os.system" function in "cbpi/controller/system_controller.py" without prior validation allowing to execute arbitrary code.This issue affects CraftBeerPi 4: from 4.0.0.58 (commit 563fae9) before 4.4.1.a1 (commit 57572c7).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| CraftBeerPi - Brewing Controller | =4.0.0.58 (commit 563fae9) | ||
| PiBrewing | >=4.0.0.58 (commit 563fae9) <4.4.1.a1 (commit 57572c7) | 4.4.1.a1 (commit 57572c7) |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket