Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. net.mingsoft/ms-mcms
  4. ›
  5. CVE-2018-18830

CVE-2018-18830: Unrestricted Upload of File with Dangerous Type

November 1, 2018 (updated September 8, 2021)

An issue was discovered in com\mingsoft\basic\action\web\FileAction.java in MCMS 4.6.5. Since the upload interface does not verify the user login status, you can use this interface to upload files without setting a cookie. First, start an upload of JSP code with a .png filename, and then intercept the data packet. In the name parameter, change the suffix to jsp. In the response, the server returns the storage path of the file, which can be accessed to execute arbitrary JSP code.

References

  • github.com/advisories/GHSA-c7c7-xm8g-xm36
  • nvd.nist.gov/vuln/detail/CVE-2018-18830

Code Behaviors & Features

Detect and mitigate CVE-2018-18830 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.6.5

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/net.mingsoft/ms-mcms/CVE-2018-18830.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.