WordPress security changelog
HIGH CVE-2022-0537 Modified

MapPress Maps for: A security weakness

MapPress Maps for is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 7.2 CVSS · contact@wpscan.com
NVD score 7.2 CVSS 3.1 · nvd@nist.gov
Component
MapPress Maps for
Plugin slug
mappress
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Apr 04, 2022
Weakness
CWE-434 — Unrestricted Upload of File with Dangerous Type

This CVE was published Apr 04, 2022 and is one of 8 known issues for this plugin.

Update, patch or deactivate.

Update MapPress Maps for to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The MapPress Maps for WordPress plugin before 2.73.13 allows a high privileged user to bypass the DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS settings and upload arbitrary files to the site through the "ajax_save" function. The file is written relative to the current 's stylesheet directory, and a .php file extension is added. No validation is performed on the content of the file, triggering an RCE vulnerability by uploading a web shell. Further the name parameter is not sanitized, allowing the payload to be uploaded to any directory to which the server has write access.

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

Primary and upstream sources