CVE-2024-3955
URL GET parameter "logtime" utilized within the "downloadlog" …
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).
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cert.pl/en/posts/2024/05/CVE-2024-3955/
- cert.pl/posts/2024/05/CVE-2024-3955/
- github.com/PiBrewing/craftbeerpi4/issues/132
- nvd.nist.gov/vuln/detail/CVE-2024-3955
- cert.pl/en/posts/2024/05/CVE-2024-3955
- cert.pl/posts/2024/05/CVE-2024-3955
- github.com/advisories/GHSA-4f92-w438-f484
- github.com/pypa/advisory-database/tree/main/vulns/cbpi4/PYSEC-2026-308.yaml
- nvd.nist.gov/vuln/detail/CVE-2024-3955
- cve.org/CVERecord?id=CVE-2024-3955
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.