CVE-2022-24796: RaspberryMatic - Command Injection
- Cve: CVE-2022-24796
- Name: RaspberryMatic - Command Injection
- Description: 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.
- Impact: Remote attackers can execute arbitrary commands as root, leading to full system compromise and control over all components.
- Remediation: Update to version 3.63.8.20220330 or newer.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03741
- Epss percentile: 0.9013
- Assignee: [email protected]
- Published at: 2022-03-31T23:15:08Z
- Age in days: 1699
- Modified at: 2026-06-17T04:32:32Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24796
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/jens-maus/RaspberryMatic/commit/34854659a63e9fb3ad529bb413e96978c6450a53 | nvd | Patch, Third Party Advisory |
| https://github.com/jens-maus/RaspberryMatic/security/advisories/GHSA-g7vv-7rmf-mff7 | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| raspberrymatic:raspberrymatic | >= 2.31.25.20180428, < 3.63.8.20220330 | no | nvd | /v1/products/raspberrymatic/raspberrymatic |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jens-maus/raspberrymatic | commit, security_advisory | yes | /v1/repositories/jens-maus/raspberrymatic |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 172
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports