Paper/Archive/CVE-2024-3955

CVE-2024-3955

PiBrewing CraftBeerPi 4 — Arbitrary code execution in CraftBeerPi 4

Description · from the CVE record

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

ProductAffectedFixed inSource
CraftBeerPi 44.0.0.58 (commit 563fae9) – < 4.4.1.a1 (commit 57572c7)4.4.1.a1 (commit 57572c7)CNA
CraftBeerPi 44.0.0.58 (commit 563fae9) – *–CNA
CraftBeerPi 44.0.0.58 (commit 563fae9)–CISA-ADP

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

writeupcert.pl/en/posts/2024/05/CVE-2024-3955writeupcert.pl/posts/2024/05/CVE-2024-3955refgithub.com/PiBrewing/craftbeerpi4/issues/132