Exploit database

GH-7feacea856188eafd49a6762828c436f

chocapikk/cve-2023-35885

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-35885

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files4
chocapikk/cve-2023-35885Revision 78ece7c3f53e

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

src/Site/PhpFpm/PoolBuilder.php

PHP · 1,944 bytes
<?php
 namespace App\Site\PhpFpm; class PoolBuilder { private string $template = "\133\x7b\x7b\x6e\141\155\x65\x7d\175\x5d\12\154\x69\163\x74\145\156\x20\75\40\x31\x32\x37\56\x30\56\x30\56\61\x3a\173\x7b\160\x6f\162\164\175\175\12\165\x73\145\162\40\x3d\x20\173\x7b\x75\x73\x65\x72\x7d\x7d\12\147\x72\x6f\165\x70\40\75\x20\173\x7b\147\x72\x6f\165\x70\x7d\x7d\xa\154\x69\163\x74\145\156\56\x61\x6c\x6c\x6f\x77\x65\x64\137\x63\x6c\151\x65\x6e\x74\x73\x20\x3d\40\61\x32\x37\x2e\60\56\60\x2e\61\12\x70\x6d\40\x3d\x20\157\x6e\144\x65\x6d\141\156\x64\12\x70\x6d\x2e\155\141\x78\137\143\150\151\x6c\x64\162\x65\156\40\x3d\x20\x32\x35\x30\xa\x70\x6d\x2e\x70\162\x6f\x63\145\x73\163\x5f\x69\x64\x6c\145\x5f\164\x69\x6d\x65\x6f\165\x74\x20\x3d\40\x31\60\x73\xa\160\155\56\x6d\141\x78\x5f\162\145\x71\x75\145\x73\x74\x73\40\x3d\40\61\x30\60\12\154\151\163\164\x65\156\x2e\x62\x61\x63\153\x6c\x6f\x67\40\75\x20\x36\x35\65\63\65\12\160\155\56\163\x74\141\x74\165\x73\137\160\x61\164\150\40\75\40\57\x73\x74\x61\164\165\x73\12\x72\x65\x71\x75\145\x73\x74\137\x74\x65\x72\x6d\x69\x6e\x61\164\x65\x5f\164\151\x6d\145\x6f\165\x74\x20\x3d\x20\x37\62\60\x30\x73\12\x72\154\151\x6d\151\x74\137\x66\x69\x6c\145\x73\x20\x3d\40\61\x33\61\60\67\62\12\162\x6c\x69\155\151\164\137\143\157\x72\x65\40\75\40\x75\x6e\154\151\x6d\x69\164\145\x64\12\x63\141\x74\x63\x68\137\167\157\162\x6b\x65\x72\163\137\x6f\x75\x74\160\165\x74\40\75\40\171\x65\163"; public function create(Pool $pool) : string { goto b6ca6; Df8dd: $user = $pool->getUser(); goto Cdfe7; Cdfe7: $group = $pool->getGroup(); goto a5cbc; A7804: return $pool; goto e4438; b6ca6: $name = $pool->getName(); goto Df8dd; ce13e: $pool = str_replace(["\x7b\173\x6e\x61\155\x65\x7d\175", "\x7b\x7b\x70\157\162\x74\175\x7d", "\x7b\x7b\x75\x73\x65\162\x7d\175", "\x7b\x7b\x67\x72\x6f\165\x70\x7d\x7d"], [$name, $port, $user, $group], $this->template); goto A7804; a5cbc: $port = $pool->getPort(); goto ce13e; e4438: } }