MapPress Maps for WordPress <= 2.73.12 - Admin+ File Upload to Remote Code Execution

6.0
Unrestricted Upload of File with Dangerous Type
CVE CVE-2022-0537
CVSS 6.0 (Medium)
Publicly Published March 14, 2022
Last Updated January 23, 2023
Researcher qerogram

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.

References

Share

Vulnerability Details for MapPress Maps for WordPress

Software Type Plugin
Software Slug mappress-google-maps-for-wordpress (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.73.13, or a newer patched version
Affected Version
  • < 2.73.13
Patched Version
  • 2.73.13

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation