RCE in Jens-Maus Raspberrymatic
CVE-2022-24796
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.035 (88.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Jens-maus Raspberrymatic — versions >= 2.31.25.20180428, < 3.63.8.20220330
- Raspberrymatic
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-24796?
- CVE-2022-24796 is a critical-severity vulnerability in Jens-Maus Raspberrymatic, classified under OS Command Injection. CVSS score: 10.0/10. Published 2022-03-31.
- How severe is CVE-2022-24796?
- Critical severity. CVSS v3 base score is 10.0 out of 10.