CVE-2024-3955

critical

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

https://github.com/PiBrewing/craftbeerpi4/issues/132

https://cert.pl/posts/2024/05/CVE-2024-3955/

https://cert.pl/en/posts/2024/05/CVE-2024-3955/

Details

Source: Mitre, NVD

Published: 2024-05-02

Updated: 2024-05-02

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical