CVE-2024-24578
Published: 18 March 2024
Summary
CVE-2024-24578 is a critical-severity Relative Path Traversal (CWE-23) vulnerability in Raspberrymatic Raspberrymatic. Its CVSS base score is 10.0 (Critical).
Operationally, ranked in the top 1.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
RaspberryMatic, an open-source operating system for HomeMatic IoT devices, is affected by an unauthenticated remote code execution vulnerability in versions of RaspberryMatic and OCCU prior to 3.75.6.20240316. The flaw resides in the Java-based HMIPServer.jar component, where the FirmwareController class fails to enforce session ID checks on URLs under /pages/jpages, enabling unauthenticated access. This stems from missing authentication for a critical function combined with relative path traversal issues, resulting in a CVSS 3.1 score of 10.0.
An attacker with network access can directly invoke the affected endpoints to execute arbitrary code as the root user, achieving complete system compromise of the target device without requiring credentials or user interaction.
The referenced GitHub security advisory for GHSA-q967-q4j8-637h states that version 3.75.6.20240316 contains a patch that resolves the vulnerability. The associated EPSS score reached a peak of 0.6951, indicating post-disclosure exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-21983
Vulnerability details
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…
more
`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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requires established identification and authentication to unlock, mitigating missing authentication for continued system access.
Requiring identification and rationale for actions allowed without authentication ensures critical functions are not left unprotected by forcing review of authentication requirements.
Authorizing mobile device connections to organizational systems ensures authentication is performed for this critical access function.
Guarantees critical functions are protected by mandatory invocation of the access control mechanism.
Auditing sessions makes it possible to detect access to critical functions without required authentication.
The assessment process confirms authentication is present and effective for critical functions, preventing exploitation from missing authentication.
Certification assesses that critical functions have required authentication controls in place.
Disabling non-essential functions and services eliminates the need to secure them, reducing exposure from missing authentication on unnecessary components.