{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24578 exists.","fix":"No fix has been published for CVE-2024-24578 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-24578 is a critical vulnerability in jens-maus RaspberryMatic, published on 18 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-24578 and fix it if it is affected.\n\nWhat it is: CVE-2024-24578 is a critical vulnerability in jens-maus RaspberryMatic, published on 18 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24578 exists.\n\nAffected product: jens-maus RaspberryMatic. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-24578/ (Markdown: https://insights.sbomify.com/CVE-2024-24578/index.md)","id":"CVE-2024-24578","markdown":"https://insights.sbomify.com/CVE-2024-24578/index.md","name":"CVE-2024-24578","record":{"aliases":["GHSA-q967-q4j8-637h"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"IoT home automation OS","requires_auth":"none","summary":"Unauthenticated attackers can upload files via HMIPServer to execute arbitrary code as root, compromising the entire RaspberryMatic system.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"raspberrymatic","vendor":"raspberrymatic"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"RaspberryMatic is an open-source operating system for HomeMatic internet-of-things devices. RaspberryMatic / OCCU prior to version 3.75.6.20240316 contains a unauthenticated remote code execution (RCE) vulnerability, caused by multiple issues within the Java based `HMIPServer.jar` component. RaspberryMatric includes a Java based `HMIPServer`, that can be accessed through URLs starting with `/pages/jpages`. The `FirmwareController` class does however not perform any session id checks, thus this feature can be accessed without a valid session. Due to this issue, attackers can gain remote code execution as root user, allowing a full system compromise. Version 3.75.6.20240316 contains a patch.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-03-16","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2024-03-16","kind":"metasploit","ref":"exploit/linux/http/raspberrymatic_unauth_rce_cve_2024_24578","stars":null,"title":"RaspberryMatic unauthenticated Remote Code Execution vulnerability through HMServer File Upload."}],"tier":"weaponised"},"has_fix":false,"headline":"RaspberryMatic Unauthenticated Remote Code Execution vulnerability through HMServer File Upload","id":"CVE-2024-24578","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Tar path traversal in stereoscope when processing OCI tar archives","id":"CVE-2024-24579"},"packages":[],"prev":{"headline":"libgit2 is vulnerable to arbitrary code execution due to heap corruption in `git_index_add`","id":"CVE-2024-24577"},"products":["RaspberryMatic"],"published":"2024-03-18","related":[{"cvss_score":10,"headline":"Remote Command Injection in RaspberryMatic","id":"CVE-2022-24796","kev_date_added":null,"published":"2022-03-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-26","vendors":["jens-maus"]},"summary":"Unauthenticated attackers can upload files via HMIPServer to execute arbitrary code as root, compromising the entire RaspberryMatic system.","url":"https://insights.sbomify.com/CVE-2024-24578/"}