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 files76
chocapikk/cve-2023-35885Revision 78ece7c3f53e
Next files →

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

src/Form/AdminRemoteBackupWasabiType.php

PHP · 9,713 bytes
<?php
 namespace App\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\Extension\Core\Type\TextareaType; use App\Validator\Constraints as AppAssert; use App\Backup\Frequency; class AdminRemoteBackupWasabiType extends AbstractType { private const DEFAULT_REGION = "\x75\x73\55\145\x61\163\164\x2d\61"; private array $regions = [["\156\x61\x6d\145" => "\x54\x6f\x6b\x79\157\x20\x28\141\x70\55\x6e\x6f\x72\x74\x68\145\141\x73\164\x2d\61\x29", "\x76\141\154\x75\145" => "\x61\x70\55\x6e\x6f\162\164\150\145\x61\x73\x74\55\x31"], ["\x6e\x61\155\145" => "\117\163\141\x6b\x61\x20\x28\x61\x70\x2d\x6e\157\x72\x74\x68\x65\141\x73\164\x2d\62\x29", "\166\141\x6c\x75\x65" => "\141\160\55\156\x6f\x72\164\150\x65\141\x73\164\55\x32"], ["\x6e\141\x6d\x65" => "\x53\x69\156\147\x61\x70\x6f\162\145\x20\50\x61\160\x2d\163\157\x75\164\150\145\x61\163\x74\x2d\61\51", "\x76\141\x6c\x75\145" => "\x61\x70\55\163\x6f\165\x74\x68\x65\141\x73\x74\55\61"], ["\156\x61\155\x65" => "\123\171\x64\x6e\x65\x79\40\x28\141\160\55\x73\x6f\165\x74\150\145\x61\163\164\55\x32\x29", "\x76\141\x6c\165\x65" => "\141\x70\x2d\163\x6f\x75\x74\x68\x65\141\x73\x74\x2d\62"], ["\x6e\x61\x6d\145" => "\x54\x6f\x72\157\156\x74\x6f\40\x28\143\x61\55\143\145\156\164\x72\141\x6c\55\x31\x29", "\166\141\154\x75\145" => "\143\x61\55\143\145\156\x74\x72\x61\x6c\55\x31"], ["\156\x61\155\x65" => "\x41\x6d\x73\164\x65\162\144\141\155\40\50\145\165\x2d\x63\x65\156\164\x72\141\x6c\55\x31\x29", "\166\141\x6c\165\x65" => "\145\165\x2d\x63\145\156\164\162\x61\154\55\61"], ["\x6e\x61\x6d\145" => "\106\162\x61\x6e\153\146\x75\x72\164\40\x28\145\165\x2d\x63\x65\156\x74\x72\141\154\55\62\51", "\166\x61\154\165\145" => "\145\165\x2d\x63\145\156\x74\x72\141\154\x2d\x32"], ["\x6e\x61\155\x65" => "\114\157\156\x64\157\156\x20\50\x65\165\x2d\x77\x65\163\164\x2d\61\51", "\166\141\154\x75\145" => "\145\165\x2d\x77\x65\163\x74\55\x31"], ["\156\x61\155\145" => "\120\x61\x72\151\x73\40\x28\x65\165\x2d\x77\x65\163\x74\55\62\51", "\166\141\154\165\145" => "\x65\165\x2d\167\x65\x73\164\x2d\x32"], ["\x6e\141\155\x65" => "\117\162\145\147\x6f\x6e\x20\50\165\x73\x2d\167\x65\163\x74\x2d\x31\x29", "\166\141\154\x75\x65" => "\x75\x73\x2d\x77\145\x73\164\x2d\61"], ["\156\x61\155\x65" => "\124\145\170\x61\x73\40\x28\x75\163\55\x63\145\156\x74\x72\141\154\55\61\x29", "\x76\141\x6c\x75\145" => "\x75\x73\x2d\x63\x65\x6e\164\x72\x61\154\55\61"], ["\x6e\x61\155\x65" => "\116\x2e\x20\126\x69\162\147\151\156\151\141\x20\50\165\163\55\145\141\163\x74\55\x31\51", "\x76\141\x6c\x75\145" => "\x75\x73\55\145\x61\x73\164\55\x31"], ["\156\x61\x6d\145" => "\x4e\56\x20\x56\151\162\x67\x69\x6e\x69\141\40\x28\x75\x73\55\145\x61\163\x74\55\x32\51", "\x76\x61\x6c\x75\145" => "\165\163\x2d\x65\x61\x73\164\55\x32"]]; public function buildForm(FormBuilderInterface $builder, array $options) : void { goto C68da; C68da: $builder->add("\x65\156\141\142\154\x65\x52\x65\x6d\157\x74\x65\102\141\143\x6b\x75\x70", CheckboxType::class, ["\x72\x65\x71\x75\x69\162\x65\144" => false, "\x61\x74\x74\162" => ["\143\x6c\141\x73\163" => "\x66\x6f\162\x6d\x2d\143\x68\x65\x63\153\55\x69\156\160\165\x74"], "\154\x61\142\145\x6c" => "\x45\156\141\x62\154\145\40\122\145\155\157\164\x65\x20\102\x61\x63\153\165\160", "\144\x61\x74\x61" => true]); goto E7ef1; d85ff: $regionChoices = []; goto Dce88; F447c: $builder->add("\163\145\x63\162\145\164\101\x63\x63\145\x73\x73\x4b\x65\171", TextType::class, ["\162\x65\x71\165\x69\x72\145\144" => true, "\141\x74\164\x72" => ["\x63\154\141\163\x73" => "\146\157\x72\x6d\55\143\157\156\164\162\x6f\154\x20\x66\x6f\x72\x6d\x2d\x63\x6f\x6e\164\162\157\154\55\x6c\147", "\x70\x6c\x61\x63\x65\x68\157\154\x64\x65\x72" => "\102\142\x39\162\120\x41\x36\66\x6a\x51\x7a\x35\152\x62\167\171\145\105\x4d\x75\x47\x61\103\141\104\157\113\104\x57\x34\x66\x49\x7a\101\162\x48\x52\166\67"], "\154\x61\x62\145\154" => "\123\145\143\x72\x65\x74\40\x41\x63\143\x65\x73\163\x20\113\x65\171"]); goto ae068; d7dd7: $builder->add("\162\145\x74\145\156\164\151\157\x6e\x50\145\162\x69\157\x64", ChoiceType::class, ["\x72\145\x71\x75\151\x72\145\144" => true, "\141\164\164\x72" => ["\143\154\141\x73\163" => "\146\x6f\162\x6d\55\x73\x65\x6c\145\143\x74\x20\x66\x6f\x72\x6d\55\163\x65\154\x65\143\x74\55\x6c\147"], "\x6c\x61\142\x65\x6c" => "\122\145\164\x65\156\x74\x69\157\x6e\x20\x50\x65\162\151\x6f\x64\40\x28\x44\141\171\x73\x29", "\143\x68\x6f\x69\x63\145\x73" => $retentionPeriodChoices, "\x64\141\164\141" => 7]); goto A0d0c; E741d: $builder->add("\x61\x63\x63\x65\163\x73\113\145\171", TextType::class, ["\162\x65\161\165\x69\162\145\x64" => true, "\x61\x74\164\x72" => ["\x63\x6c\141\163\163" => "\146\157\162\x6d\55\143\157\x6e\x74\x72\157\x6c\x20\146\x6f\162\155\55\x63\x6f\x6e\164\x72\x6f\x6c\55\154\x67", "\x70\x6c\141\x63\x65\150\157\x6c\x64\x65\162" => "\67\105\117\x53\x4c\64\x4d\x33\62\x5a\112\123\x56\x49\x41\115\x4d\130\61\x38\x37"], "\154\x61\x62\145\x6c" => "\101\x63\x63\145\163\163\40\113\x65\171", "\x63\157\156\163\164\x72\x61\x69\156\x74\163" => [new AppAssert\WasabiCredentials()]]); goto F447c; f6a64: Aaba7: goto Abbaa; dfc91: $builder->add("\162\x65\147\151\x6f\156", ChoiceType::class, ["\162\x65\x71\x75\151\162\145\x64" => true, "\141\164\x74\x72" => ["\x63\154\141\x73\x73" => "\146\157\x72\x6d\55\x73\145\x6c\145\143\x74\x20\x66\157\x72\x6d\x2d\x73\145\154\145\143\x74\55\154\147"], "\154\x61\x62\x65\x6c" => "\122\145\x67\x69\x6f\x6e", "\143\150\157\x69\143\145\x73" => $regionChoices, "\x64\141\164\141" => self::DEFAULT_REGION]); goto b441d; Dce88: foreach ($this->regions as $region) { $regionChoices[$region["\156\141\155\145"]] = $region["\x76\x61\154\165\x65"]; d731a: } goto B19f8; A1de3: $builder->add("\145\x78\143\x6c\x75\144\145\x73", TextareaType::class, ["\x72\x65\161\165\151\x72\145\144" => false, "\x61\164\x74\162" => ["\143\x6c\x61\x73\x73" => "\146\x6f\162\155\x2d\x63\x6f\x6e\x74\162\x6f\x6c\x20\x66\157\162\x6d\55\143\x6f\156\164\x72\157\x6c\x2d\154\x67", "\162\157\167\163" => 5, "\x70\154\141\x63\145\x68\157\x6c\x64\145\162" => implode(PHP_EOL, $excludesPlaceholder)], "\x6c\x61\x62\x65\154" => "\105\170\143\154\x75\144\x65\x73", "\x63\x6f\156\163\164\162\141\x69\x6e\x74\x73" => [new AppAssert\RemoteBackupExcludes()]]); goto e096d; A0d0c: $excludesPlaceholder = ["\x2f\150\157\155\145\57\x73\x69\164\145\x2d\165\163\x65\162\57\x68\164\x64\x6f\x63\163\57\x64\157\155\x61\x69\x6e\56\143\157\155\57\143\x61\x63\x68\x65\x2f", "\57\x68\157\x6d\x65\57\163\x69\164\x65\55\165\163\x65\x72\x2f\150\164\x64\157\x63\163\57\x64\x6f\x6d\x61\x69\x6e\x2e\x63\157\x6d\57\146\151\154\145\x2e\x74\x78\x74"]; goto A1de3; cdcec: $builder->add("\146\162\x65\161\165\145\x6e\x63\x79", ChoiceType::class, ["\x72\x65\x71\165\x69\x72\x65\144" => true, "\x61\164\x74\x72" => ["\x63\154\x61\x73\x73" => "\x66\157\x72\155\55\x73\x65\154\x65\x63\x74\x20\146\157\x72\155\55\163\x65\x6c\x65\143\x74\x2d\154\x67"], "\x6c\x61\142\x65\x6c" => "\x46\162\145\x71\165\x65\156\143\x79", "\143\x68\x6f\151\x63\x65\163" => $frequencyChoices]); goto F8285; b441d: $builder->add("\163\x74\x6f\162\141\x67\x65\104\151\162\x65\143\x74\x6f\162\x79", TextType::class, ["\x72\x65\161\165\x69\162\145\x64" => true, "\x61\x74\x74\x72" => ["\x63\x6c\x61\x73\163" => "\146\x6f\162\x6d\x2d\x63\157\156\x74\x72\x6f\x6c\x20\146\157\x72\155\x2d\x63\x6f\x6e\164\162\x6f\154\55\x6c\x67"], "\154\x61\x62\145\154" => "\123\x74\x6f\162\x61\147\145\x20\x44\151\162\145\143\x74\157\162\171", "\x64\141\164\x61" => "\x62\x61\143\153\165\160\163"]); goto fa344; fa344: $retentionPeriodChoices = ["\63" => 3, "\x37" => 7, "\61\64" => 14, "\x32\61" => 21, "\x33\60" => 30]; goto d7dd7; B19f8: aeaec: goto dfc91; E7ef1: $frequencyChoices = ["\104\x61\151\154\171" => Frequency::DAILY, "\x45\x76\145\x72\x79\x20\x54\150\x72\x65\145\x20\110\157\x75\162\163" => Frequency::EVERY_THREE_HOURS, "\105\x76\x65\x72\171\40\123\151\170\x20\x48\157\x75\162\163" => Frequency::EVERY_SIX_HOURS, "\x45\166\145\162\x79\40\x54\x77\x65\154\166\x65\x20\x48\157\x75\162\163" => Frequency::EVERY_TWELVE_HOURS]; goto cdcec; ae068: $builder->add("\x62\165\x63\x6b\145\x74", TextType::class, ["\x72\145\x71\x75\x69\162\x65\x64" => true, "\x61\x74\164\162" => ["\143\x6c\x61\163\163" => "\x66\x6f\162\155\x2d\x63\157\x6e\x74\162\x6f\154\x20\146\157\x72\x6d\x2d\x63\157\156\x74\162\157\x6c\55\x6c\147", "\x70\x6c\141\143\145\150\x6f\154\144\x65\x72" => "\x42\x75\x63\153\145\164\40\x4e\141\x6d\x65"], "\154\x61\142\x65\x6c" => "\102\x75\143\153\x65\x74"]); goto d85ff; Abbaa: $builder->add("\145\170\x65\143\x75\164\x69\157\156\124\151\155\x65", ChoiceType::class, ["\162\x65\161\165\x69\x72\145\144" => false, "\x61\x74\x74\x72" => ["\x63\x6c\x61\x73\163" => "\146\157\x72\x6d\55\163\145\x6c\x65\143\x74\x20\146\x6f\x72\x6d\55\x73\145\x6c\x65\143\x74\55\x6c\147"], "\154\x61\x62\x65\154" => "\x54\x69\x6d\145", "\160\x6c\141\143\145\150\x6f\154\144\x65\162" => false, "\x63\x68\x6f\x69\143\x65\163" => $timeChoices, "\144\141\x74\x61" => 2]); goto E741d; Bf0cd: foreach (range(0, 23) as $number) { goto C6978; E2d8a: $timeChoices[$timeFormatted] = $number; goto C138f; C6978: $timeFormatted = sprintf("\45\x73\72\x30\60", $number < 10 ? sprintf("\60\45\163", $number) : $number); goto E2d8a; C138f: A856b: goto d644b; d644b: } goto f6a64; F8285: $timeChoices = []; goto Bf0cd; e096d: } public function getName() : string { return "\143\x6c\160\x5f\141\144\x6d\151\x6e\137\162\x65\x6d\157\x74\x65\137\142\x61\x63\153\x75\x70\137\167\x61\x73\141\142\151"; } }