Vulnerability · Published Mar 18, 2024 · Assigned by GitHub_M

CVE-2024-24578RaspberryMatic Unauthenticated Remote Code Execution vulnerability through HMServer File Upload

Critical 10.0

In plain English

A critical-severity missing authentication in RaspberryMatic from jens-maus. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 8.7% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)8.7%top 4.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Metasploit

Official 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.

Affected products (as reported)

VendorProductVersions
jens-maus RaspberryMatic < 3.75.6.20240316

Weakness: CWE-23, CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References