{"id":"CVE-2022-24796","published":"2022-03-31T22:40:17Z","modified":"2025-04-23T18:42:47Z","title":"Remote Command Injection in RaspberryMatic","vendor":"jens-maus","product":"RaspberryMatic","tier":"tail","description":{"text":"RaspberryMatic is a free and open-source operating system for running a cloud-free smart-home using the homematicIP / HomeMatic hardware line of IoT devices. A Remote Code Execution (RCE) vulnerability in the file upload facility of the WebUI interface of RaspberryMatic exists. Missing input validation/sanitization in the file upload mechanism allows remote, unauthenticated attackers with network access to the WebUI interface to achieve arbitrary operating system command execution via shell metacharacters in the HTTP query string. Injected commands are executed as root, thus leading to a full compromise of the underlying system and all its components. Versions after `2.31.25.20180428` and prior to `3.63.8.20220330` are affected. Users are advised to update to version `3.63.8.20220330` or newer. There are currently no known workarounds to mitigate the security impact and users are advised to update to the latest version available.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03741,"percentile":0.90116,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/jens-maus/RaspberryMatic/security/advisories/GHSA-g7vv-7rmf-mff7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jens-maus/RaspberryMatic/commit/34854659a63e9fb3ad529bb413e96978c6450a53","tags":["x_refsource_MISC"]}],"priority":{"score":25.0,"factors":[{"name":"EPSS percentile","points":18.02},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"jens-maus","affectedVersions":[{"vendor":"jens-maus","product":"RaspberryMatic","versions":[">= 2.31.25.20180428, < 3.63.8.20220330"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-23T15:49:59.394275Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-29602","exploited":false,"provenance":"source"},"summary":{"text":"RaspberryMatic, an open-source operating system for running a cloud-free smart home with HomeMatic and homematicIP hardware, contains a command injection flaw in the file upload functionality of its WebUI, where missing input validation lets shell metacharacters in the HTTP query string reach the operating system. An unauthenticated attacker with network access to the WebUI can exploit this without user interaction to run arbitrary commands as root, gaining full control of the underlying system and its components.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:24:48Z"}}