CVE-2022-0537
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.
Affected WordPress components
-
MapPress – Google Maps, OpenStreetMap & Leaflet Plugin · mappress-google-maps-for-wordpressFrom 2.73.13 (including) to 2.73.13 (excluding)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Unknown MapPress Maps for WordPress — From 2.73.13 (including) to 2.73.13 (excluding)
- mappresspro mappress — Before 2.73.13
References
- wpscan.com https://wpscan.com/vulnerability/abfbba70-5158-4990-98e5-f302361db367 Exploit, Third Party Advisory
- nvd.nist.gov Official NVD record