#VU27299 Arbitrary file upload in MapPress Maps for WordPress


Published: 2020-04-24

Vulnerability identifier: #VU27299

Vulnerability risk: Medium

CVSSv3.1: 8.6 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-12077

CWE-ID: CWE-434

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
MapPress Maps for WordPress
Web applications / Modules and components for CMS

Vendor: Chris Richardson

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to the affected plugin registers several AJAX actions that calls functions without capability checks or nonce checks. A remote authenticated attacker can send a specially crafted "$_POST" request to "wp-admin/admin-ajax.php" and upload and execute arbitrary file on the server.

Successful exploitation of this vulnerability allows a remote attacker to cause arbitrary File Upload, Deletion, and Disclosure Leading to RCE or Site Reset.

This vulnerability affects the following AJAX hooks:

add_action('wp_ajax_mapp_tpl_get', array(__CLASS__, 'ajax_get')); 

add_action('wp_ajax_mapp_tpl_save', array(__CLASS__, 'ajax_save')); 

add_action('wp_ajax_mapp_tpl_delete', array(__CLASS__, 'ajax_delete'));

Mitigation
Install updates from vendor's website.

Vulnerable software versions

MapPress Maps for WordPress: 2.40 - 2.53.9


External links
http://www.wordfence.com/blog/2020/04/critical-vulnerabilities-patched-in-mappress-maps-plugin/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability