CVE-2021-46062 MCMS Arbitrary File Deletion vulnerability

High 7.1 Published Updated

An attacker can delete arbitrary files in MCMS via the oldFileName component, potentially compromising data integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-46062?

CVE-2021-46062 is a high-severity path traversal vulnerability in n/a, published on 18 Feb 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

MCMS v5.2.5 was discovered to contain an arbitrary file deletion vulnerability via the component oldFileName.

Which versions are affected by CVE-2021-46062?

4 open source packages ship an affected version, including net.mingsoft:ms-basic and net.mingsoft:ms-mcms. It affects 1 product.

PackageAffectedFixed in
net.mingsoft:ms-basic MavenAll versions2.1.16
net.mingsoft:ms-basic MavenAll versions2.1.16
net.mingsoft:ms-mcms MavenAll versions5.2.11
net.mingsoft:ms-mcms MavenAll versions5.2.11

Products include Mingsoft Mcms.

How do I fix CVE-2021-46062?

Upgrade net.mingsoft:ms-basic to 2.1.16 or later.

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

Is CVE-2021-46062 being exploited?

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

Sources

Also known as GHSA-rpvr-mw7r-25xx.

Is CVE-2021-46062 in your software?

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

Check your SBOMs for free