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).
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://cert.pl/en/posts/2024/05/CVE-2024-3955/ | third party advisory |
https://cert.pl/posts/2024/05/CVE-2024-3955/ | third party advisory |
https://github.com/PiBrewing/craftbeerpi4/issues/132 | issue tracking |