Description
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).
References (3)
Core 3
Core References
Various Sources third-party-advisory
https://cert.pl/en/posts/2024/05/CVE-2024-3955/
Various Sources third-party-advisory
https://cert.pl/posts/2024/05/CVE-2024-3955/
Issue Tracking issue-tracking
https://github.com/PiBrewing/craftbeerpi4/issues/132
Scores
CVSS v3
9.8
EPSS
0.0046
EPSS Percentile
64.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (3)
CraftBeerPi - Brewing Controller/CraftBeerPi 4
4.0.0.58 (commit 563fae9)
PiBrewing/CraftBeerPi 4
4.0.0.58 (commit 563fae9) - 4.4.1.a1 (commit 57572c7)
pypi/cbpi4
4.0.0.58 - 4.4.1.a1PyPI
Published
May 02, 2024
Tracked Since
Feb 18, 2026