CVE-2023-25814 Arbitrary File Read Vulnerability in metersphere

High 7.1 Published Updated

An authenticated user can read arbitrary files on the server filesystem by manipulating resource file submission paths.

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

What is CVE-2023-25814?

CVE-2023-25814 is a high-severity path traversal vulnerability in metersphere, published on 9 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

metersphere is an open source continuous testing platform. In versions prior to 2.7.1 a user who has permission to create a resource file through UI operations is able to append a path to their submission query which will be read by the system and displayed to the user. This allows a users of the system to read arbitrary files on the filesystem of the server so long as the server process itself has permission to read the requested files. This issue has been addressed in version 2.7.1. All users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-22

Which versions are affected by CVE-2023-25814?

It affects 1 product.

Products include Metersphere Metersphere.

How do I fix CVE-2023-25814?

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

There is no known exploitation of CVE-2023-25814 in the wild and no public exploit code.

Sources

Also known as GHSA-fwc3-5h55-mh2j.

Is CVE-2023-25814 in your software?

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

Check your SBOMs for free