PT-2024-28526 · Unknown · Craftbeerpi 4

·

CVE-2024-3955

·

Published

2024-05-02

·

Updated

2026-06-29

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions CraftBeerPi 4 versions 4.0.0.58 through 4.4.1.a1
Description The issue arises from the URL GET parameter logtime being utilized within the "downloadlog" function from "cbpi/http endpoints/http system.py". This parameter is subsequently passed to the os.system function in "cbpi/controller/system controller.py" without prior validation, allowing for the execution of arbitrary code.
Recommendations For CraftBeerPi 4 versions 4.0.0.58 through 4.4.1.a1, update to a version after 4.4.1.a1 to resolve the issue. As a temporary workaround, consider disabling the downloadlog function until a patch is available. Restrict access to the os.system function to minimize the risk of exploitation. Avoid using the logtime parameter in the affected API endpoint until the issue is resolved.

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-3955
GHSA-4F92-W438-F484
PYSEC-2026-308

Affected Products

Craftbeerpi 4