CVE-2024-24578
CRITICALRaspberryMatic unauthenticated Remote Code Execution vulnerability through HMServer File Upload.
Title source: metasploitExploitation Summary
EIP tracks 1 public exploit for CVE-2024-24578.
Includes Metasploit module exploits/linux/http/raspberrymatic_unauth_rce_cve_2024_24578.
AI-analyzed exploit summary This Metasploit module exploits CVE-2024-24578, an unauthenticated RCE vulnerability in RaspberryMatic via a Zip Slip attack. It uploads a malicious .tgz file to overwrite the watchdog script, achieving root execution through a cron job.
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.
Exploits (1)
This Metasploit module exploits CVE-2024-24578, an unauthenticated RCE vulnerability in RaspberryMatic via a Zip Slip attack. It uploads a malicious .tgz file to overwrite the watchdog script, achieving root execution through a cron job.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H