CVE-2024-49359 ZimaOS vulnerable to Directory Listing via Parameter Manipulation

High 7.5 Published Updated

Authenticated attackers can manipulate path parameters to list contents of any directory, exposing sensitive system files.

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-49359?

CVE-2024-49359 is a high-severity path traversal vulnerability in IceWhaleTech ZimaOS, published on 24 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ZimaOS is a fork of CasaOS, an operating system for Zima devices and x86-64 systems with UEFI. In version 1.2.4 and all prior versions, the API endpoint `http://<Zima_Server_IP:PORT>/v2_1/file` in ZimaOS is vulnerable to a directory traversal attack, allowing authenticated users to list the contents of any directory on the server. By manipulating the path parameter, attackers can access sensitive system directories such as `/etc`, potentially exposing critical configuration files and increasing the risk of further attacks. As of time of publication, no known patched versions are available.

Weakness: CWE-22, CWE-552

Which versions are affected by CVE-2024-49359?

It affects 1 product.

Products include Zimaspace Zimaos.

How do I fix CVE-2024-49359?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-49359 being exploited?

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

Sources

Also known as GHSA-mwpw-fhrm-728x.

Is CVE-2024-49359 in your software?

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

Check your SBOMs for free