CVE-2021-46062 MCMS Arbitrary File Deletion vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
net.mingsoft:ms-basic Maven | All versions | 2.1.16 |
net.mingsoft:ms-basic Maven | All versions | 2.1.16 |
net.mingsoft:ms-mcms Maven | All versions | 5.2.11 |
net.mingsoft:ms-mcms Maven | All versions | 5.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.
Other vulnerabilities in n/a
- CVE-2025-56316 MCMS vulnerable SQL injection via the content_title parameter
- CVE-2025-29287 MCMS allows arbitrary file uploads in the ueditor component
- CVE-2023-50578 Mingsoft MCMS SQL injection
- CVE-2020-20913 Ming-Soft MCMS vulnerable to SQL injection
- CVE-2022-36272 Mingsoft MCMS SQL injection vulnerability in /mdiy/page/verify URI via fieldName parameter
Sources
Also known as GHSA-rpvr-mw7r-25xx.