FKIE_CVE-2024-3955

Vulnerability from fkie_nvd - Published: 2024-05-02 10:15 - Updated: 2026-06-17 07:45
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).
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "collectionURL": "https://pypi.org/project/cbpi4/",
          "defaultStatus": "unaffected",
          "product": "CraftBeerPi 4",
          "repo": "https://github.com/PiBrewing/craftbeerpi4",
          "vendor": "PiBrewing",
          "versions": [
            {
              "lessThan": "4.4.1.a1 (commit 57572c7)",
              "status": "affected",
              "version": "4.0.0.58 (commit 563fae9)",
              "versionType": "custom"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "CraftBeerPi 4",
          "repo": "https://github.com/craftbeerpi/craftbeerpi4",
          "vendor": "CraftBeerPi - Brewing Controller",
          "versions": [
            {
              "lessThanOrEqual": "*",
              "status": "affected",
              "version": "4.0.0.58 (commit 563fae9)",
              "versionType": "git"
            }
          ]
        }
      ],
      "source": "cvd@cert.pl"
    },
    {
      "affectedData": [
        {
          "cpes": [
            "cpe:2.3:a:pibrewing:craftbeerpi_4:4.0.0.58:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unknown",
          "product": "CraftBeerPi 4",
          "vendor": "PiBrewing",
          "versions": [
            {
              "status": "affected",
              "version": "4.0.0.58 (commit 563fae9)"
            }
          ]
        }
      ],
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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).\n\n"
    },
    {
      "lang": "es",
      "value": "El par\u00e1metro GET de URL \"logtime\" utilizado dentro de la funci\u00f3n \"downloadlog\" de \"cbpi/http_endpoints/http_system.py\" se pasa posteriormente a la funci\u00f3n \"os.system\" en \"cbpi/controller/system_controller.py\" sin validaci\u00f3n previa que permita ejecutar c\u00f3digo arbitrario. Este problema afecta a CraftBeerPi 4: desde 4.0.0.58 (commit 563fae9) antes de 4.4.1.a1 (commit 57572c7)."
    }
  ],
  "id": "CVE-2024-3955",
  "lastModified": "2026-06-17T07:45:32.740",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 9.8,
          "baseSeverity": "CRITICAL",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 5.9,
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2024-3955",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2024-05-02T17:35:00.248697Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2024-05-02T10:15:08.630",
  "references": [
    {
      "source": "cvd@cert.pl",
      "url": "https://cert.pl/en/posts/2024/05/CVE-2024-3955/"
    },
    {
      "source": "cvd@cert.pl",
      "url": "https://cert.pl/posts/2024/05/CVE-2024-3955/"
    },
    {
      "source": "cvd@cert.pl",
      "url": "https://github.com/PiBrewing/craftbeerpi4/issues/132"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://cert.pl/en/posts/2024/05/CVE-2024-3955/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://cert.pl/posts/2024/05/CVE-2024-3955/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/PiBrewing/craftbeerpi4/issues/132"
    }
  ],
  "sourceIdentifier": "cvd@cert.pl",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-94"
        }
      ],
      "source": "cvd@cert.pl",
      "type": "Secondary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…