CVE-2024-3955

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

VendorProductVersion RangeStatus
PiBrewingCraftBeerPi 44.0.0.58 (commit 563fae9) < 4.4.1.a1 (commit 57572c7)affected
CraftBeerPi - Brewing ControllerCraftBeerPi 44.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

References