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

Critical 10.0 Published Updated

Unauthenticated attackers can upload files via HMIPServer to execute arbitrary code as root, compromising the entire RaspberryMatic system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-24578?

CVE-2024-24578 is a critical vulnerability in jens-maus RaspberryMatic, published on 18 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-306, CWE-23

Which versions are affected by CVE-2024-24578?

It affects 1 product.

Products include Raspberrymatic Raspberrymatic.

How do I fix CVE-2024-24578?

No fix has been published for CVE-2024-24578 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-24578 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24578 exists.

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-q967-q4j8-637h.

Is CVE-2024-24578 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free