WordPress Plugin Vulnerabilities

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

Description

The plugin 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 theme'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.

Proof of Concept

Affects Plugins

References

Miscellaneous

Original Researcher
qerogram
Submitter
qerogram
Submitter website
Verified
Yes

Timeline

Publicly Published
2022-03-14 (about 3 years ago)
Added
2022-03-14 (about 3 years ago)
Last Updated
2022-04-17 (about 3 years ago)

Other