CVE-2024-3955
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| PiBrewing | CraftBeerPi 4 | 4.0.0.58 (commit 563fae9) < 4.4.1.a1 (commit 57572c7) | affected |
| CraftBeerPi - Brewing Controller | CraftBeerPi 4 | 4.0.0.58 (commit 563fae9) <= * | affected |
Weaknesses
- CWE-94: CWE-94 Improper Control of Generation of Code ('Code Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
CVE Program Container
Additional References
- https://cert.pl/en/posts/2024/05/CVE-2024-3955/
- https://cert.pl/posts/2024/05/CVE-2024-3955/
- https://github.com/PiBrewing/craftbeerpi4/issues/132
References
- https://cert.pl/en/posts/2024/05/CVE-2024-3955/
- https://cert.pl/posts/2024/05/CVE-2024-3955/
- https://github.com/PiBrewing/craftbeerpi4/issues/132
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.