Skip to content

GHSA-qwh6-xwj4-9cjg CVE-2021-46384

Remote code execution in net.mingsoft:ms-mcms

Critical Maven
Severity
9.8 / 10
Critical · CVSS 3.1
Exploit chance (EPSS)
2.22%
Chance of exploitation in the next 30 days. Higher than 82.66% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-287 Improper Authentication
Fix
5.2.6
Upgrade net.mingsoft:ms-mcms to this version or later

Description

net.mingsoft:ms-mcms <=5.2.5 is affected by: RCE. The impact is: execute arbitrary code (remote). The attack vector is: ${"freemarker.template.utility.Execute"?new()("calc")}. ¶¶ MCMS has a pre-auth RCE vulnerability through which allows unauthenticated attacker with network access via http to compromise MCMS. Successful attacks of this vulnerability can result in takeover of MCMS.

Affected versions

Maven

PackageVulnerableFixed in
net.mingsoft:ms-mcms
< 5.2.6
5.2.6

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

net.mingsoft:ms-mcms Maven → 5.2.6

maven
<dependency><groupId>net.mingsoft</groupId><artifactId>ms-mcms</artifactId><version>5.2.6</version></dependency>
gradle
implementation("net.mingsoft:ms-mcms:5.2.6")

Severity breakdown

CVSS 3.1 9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Weakness

CWE-287: Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

How to prevent it
  • Architecture and Design: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-r9wp-qq53-qvjx
mingSoft MCMS does not properly restrict file uploads
High Also affects net.mingsoft:ms-mcms
GHSA-wvv5-5g6x-hp7j
MCMS reflected cross-site scripting (XSS) vulnerability
Medium Also affects net.mingsoft:ms-mcms
GHSA-54wc-49qj-5ghj
MCMS vulnerable SQL injection via the content_title parameter
Critical Also affects net.mingsoft:ms-mcms
GHSA-3922-2r6r-r4fv
MCMS allows arbitrary file uploads in the ueditor component
Critical Also affects net.mingsoft:ms-mcms
GHSA-7qw4-9r68-2rmx
mingSoft MCMS File Upload vulnerability
High Also affects net.mingsoft:ms-mcms
GHSA-h57w-vh34-f8cw
Code injection in mingSoft MCMS
High Also affects net.mingsoft:ms-mcms
GHSA-3vvh-8c65-32j4
Mingsoft MCMS SQL injection
Critical Also affects net.mingsoft:ms-mcms
GHSA-rxvj-5mv6-j5mc
Cross-site Scripting in Mingsoft MCMS
Medium Also affects net.mingsoft:ms-mcms
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor