CVE-2018-18831 Path Traversal in minsoft:ms-mcms

High 7.5 Published Updated

Attackers can exploit directory traversal to write malicious JSP files to arbitrary directories, enabling remote code execution in MCMS.

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-2018-18831?

CVE-2018-18831 is a high-severity path traversal vulnerability in n/a, published on 30 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in com\mingsoft\cms\action\GeneraterAction.java in MCMS 4.6.5. An attacker can write a .jsp file (in the position parameter) to an arbitrary directory via a ../ Directory Traversal in the url parameter.

Weakness: CWE-22

Which versions are affected by CVE-2018-18831?

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

PackageAffectedFixed in
net.mingsoft:ms-mcms MavenAll versions to 4.6.5None
net.mingsoft:ms-mcms MavenAll versions to 4.6.5None

Products include Mingsoft Mcms.

How do I fix CVE-2018-18831?

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

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

Sources

Also known as GHSA-7hjp-97g3-rq93.

Is CVE-2018-18831 in your software?

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

Check your SBOMs for free