CVE-2024-25123 Path Manipulation in file mslib/index.py in MSS

High 7.3 Published Updated

Attackers can manipulate file paths to read sensitive files from the host filesystem in the MSS flight planning 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-25123?

CVE-2024-25123 is a high-severity path traversal vulnerability in Open-MSS MSS, published on 15 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

MSS (Mission Support System) is an open source package designed for planning atmospheric research flights. In file: `index.py`, there is a method that is vulnerable to path manipulation attack. By modifying file paths, an attacker can acquire sensitive information from different resources. The `filename` variable is joined with other variables to form a file path in `_file`. However, `filename` is a route parameter that can capture path type values i.e. values including slashes (\). So it is possible for an attacker to manipulate the file being read by assigning a value containing ../ to `filename` and so the attacker may be able to gain access to other files on the host filesystem. This issue has been addressed in MSS version 8.3.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-22

Which versions are affected by CVE-2024-25123?

It affects 1 product.

Products include Open-Mss Mission Support System.

How do I fix CVE-2024-25123?

No fix has been published for CVE-2024-25123 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-25123 being exploited?

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

Sources

Also known as GHSA-pf2h-qjcr-qvq2.

Is CVE-2024-25123 in your software?

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

Check your SBOMs for free