CVE-2022-0537
MapPress Maps for WordPress <= 2.73.12 - Admin+ File Upload to Remote Code Execution
mediumUnrestricted Upload of File with Dangerous Type
6.0
CVSS Score
6.0
CVSS Score
medium
Severity
2.73.13
Patched in
680d
Time to patch
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.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:LAttack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
High
Confidentiality
Low
Integrity
Low
Availability
Technical Details
Affected versions
<2.73.13PublishedMarch 14, 2022
Last updatedJanuary 22, 2024
Affected pluginmappress-google-maps-for-wordpress
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.