Exploit databaseDownload repository ZIP
GH-7feacea856188eafd49a6762828c436f
chocapikk/cve-2023-35885
Sources for CVE-2023-35885
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files16
chocapikk/cve-2023-35885Revision 78ece7c3f53e
- ↑..Parent directory
- NginxAccessLog.php
- NginxErrorLog.php
- NodejsAppPort.php
- PhpFpmPort.php
- PhpSettings.php
- Processor.php
- PythonAppPort.php
- RedirectDomain.php
- RedirectServerName.php
- ReverseProxyUrl.php
- RootDirectory.php
- ServerName.php
- Settings.php
- SslCertificate.php
- SslCertificateKey.php
- VarnishProxyPass.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/Site/Nginx/Vhost/Processor/SslCertificate.php
PHP · 911 bytes<?php
namespace App\Site\Nginx\Vhost\Processor; class SslCertificate extends Processor { public const NGINX_SSL_CERTIFICATES_DIRECTORY = "\57\x65\x74\x63\57\x6e\x67\151\156\170\x2f\163\163\x6c\x2d\x63\145\x72\x74\x69\146\151\x63\x61\164\145\163\x2f"; protected string $placeholder = "\173\173\163\x73\154\137\143\x65\x72\x74\x69\x66\x69\x63\141\x74\145\175\175"; public function process(string $content) : string { goto D3a27; Ff8e2: $content = $this->replace($placeholderValue, $content); goto bc906; bc906: return $content; goto A83e0; D3a27: $domainName = $this->site->getDomainName(); goto a4ec4; a4ec4: $certificateFile = sprintf("\x25\x73\x2f\45\x73\x2e\143\162\x74", rtrim(self::NGINX_SSL_CERTIFICATES_DIRECTORY, "\57"), $domainName); goto adb41; adb41: $placeholderValue = sprintf("\x73\x73\154\x5f\143\145\x72\164\x69\x66\x69\143\141\164\x65\x20\45\163\x3b", $certificateFile); goto Ff8e2; A83e0: } }