mzaccessory.shop Open in urlscan Pro
45.147.46.40  Public Scan

URL: https://mzaccessory.shop/shopware-installer.phar.php
Submission Tags: @ecarlesi possiblethreat Search All
Submission: On October 30 via api from IT — Scanned from IT

Form analysis 0 forms found in the DOM

Text Content

SYMFONY EXCEPTION

Symfony Docs


ERROREXCEPTION


HTTP 500 INTERNAL SERVER ERROR


NOTICE: SESSIONHANDLER::GC(): PS_FILES_CLEANUP_DIR:
OPENDIR(/VAR/CPANEL/PHP/SESSIONS/EA-PHP82) FAILED: PERMISSION DENIED (13)


Exception Logs 1 Stack Trace


EXCEPTION


ERROREXCEPTION

Show exception properties
  0 of 0       ErrorException {#310 ▼
  #severity: E_NOTICE
}


in
vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php
(line 87)
 82.         return $this->handler->close();
 83.     }
 84. 
 85.     public function gc(int $maxlifetime): int|false
 86.     {
 87.         return $this->handler->gc($maxlifetime);
 88.     }
 89. }
 90. 

in vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php
-> gc (line 64)
 59.         return $this->handler->destroy($sessionId);
 60.     }
 61. 
 62.     public function gc(int $maxlifetime): int|false
 63.     {
 64.         return $this->handler->gc($maxlifetime);
 65.     }
 66. 
 67.     public function validateId(#[\SensitiveParameter] string $sessionId): bool
 68.     {
 69.         return !$this->handler instanceof \SessionUpdateTimestampHandlerInterface || $this->handler->validateId($sessionId);

SessionHandlerProxy->gc(1440)
in vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php
session_start (line 172)
 167.             // the session ID in the header is invalid, create a new one
 168.             session_id(session_create_id());
 169.         }
 170. 
 171.         // ok to try and start the session
 172.         if (!session_start()) {
 173.             throw new \RuntimeException('Failed to start the session.');
 174.         }
 175. 
 176.         $this->loadSession();
 177. 

in vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php ->
start (line 311)
 306.         }
 307. 
 308.         if (!$this->started && $this->saveHandler->isActive()) {
 309.             $this->loadSession();
 310.         } elseif (!$this->started) {
 311.             $this->start();
 312.         }
 313. 
 314.         return $this->bags[$name];
 315.     }
 316. 

in vendor/symfony/http-foundation/Session/Session.php -> getBag (line 222)
 217.         $this->storage->registerBag(new SessionBagProxy($bag, $this->data, $this->usageIndex, $this->usageReporter));
 218.     }
 219. 
 220.     public function getBag(string $name): SessionBagInterface
 221.     {
 222.         $bag = $this->storage->getBag($name);
 223. 
 224.         return method_exists($bag, 'getBag') ? $bag->getBag() : $bag;
 225.     }
 226. 
 227.     /**

in vendor/symfony/http-foundation/Session/Session.php -> getBag (line 242)
 237.      *
 238.      * Note that this method was added to help with IDE autocompletion.
 239.      */
 240.     private function getAttributeBag(): AttributeBagInterface
 241.     {
 242.         return $this->getBag($this->attributeName);
 243.     }
 244. }
 245. 

in vendor/symfony/http-foundation/Session/Session.php -> getAttributeBag (line
64)
 59.         return $this->storage->start();
 60.     }
 61. 
 62.     public function has(string $name): bool
 63.     {
 64.         return $this->getAttributeBag()->has($name);
 65.     }
 66. 
 67.     public function get(string $name, mixed $default = null): mixed
 68.     {
 69.         return $this->getAttributeBag()->get($name, $default);

Session->has('language') in Listener/InstallerLocaleListener.php (line 45)
 40. 
 41.             return (string) $request->query->get('language');
 42.         }
 43. 
 44.         // language was already set
 45.         if ($session->has('language') && \in_array((string) $session->get('language'), $this->installerLanguages, true)) {
 46.             return (string) $session->get('language');
 47.         }
 48. 
 49.         // get initial language from browser header
 50.         if ($request->headers->has('HTTP_ACCEPT_LANGUAGE')) {

InstallerLocaleListener->detectLanguage(object(Request)) in
Listener/InstallerLocaleListener.php (line 28)
 23.     #[AsEventListener(RequestEvent::class, priority: 15)]
 24.     public function __invoke(RequestEvent $event): void
 25.     {
 26.         $request = $event->getRequest();
 27. 
 28.         $locale = $this->detectLanguage($request);
 29.         $request->attributes->set('_locale', $locale);
 30.         $request->setLocale($locale);
 31.     }
 32. 
 33.     private function detectLanguage(Request $request): string

in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 260)
 255.                     $closure = static function (...$args) use (&$listener, &$closure) {
 256.                         if ($listener[0] instanceof \Closure) {
 257.                             $listener[0] = $listener[0]();
 258.                             $listener[1] ??= '__invoke';
 259.                         }
 260.                         ($closure = $listener(...))(...$args);
 261.                     };
 262.                 } else {
 263.                     $closure = $listener instanceof WrappedListener ? $listener : $listener(...);
 264.                 }
 265.             }

in vendor/symfony/event-dispatcher/EventDispatcher.php ::
Symfony\Component\EventDispatcher\{closure} (line 220)
 215. 
 216.         foreach ($listeners as $listener) {
 217.             if ($stoppable && $event->isPropagationStopped()) {
 218.                 break;
 219.             }
 220.             $listener($event, $eventName, $this);
 221.         }
 222.     }
 223. 
 224.     /**
 225.      * Sorts the internal list of listeners for the given event by priority.

in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line
56)
 51.         } else {
 52.             $listeners = $this->getListeners($eventName);
 53.         }
 54. 
 55.         if ($listeners) {
 56.             $this->callListeners($listeners, $eventName, $event);
 57.         }
 58. 
 59.         return $event;
 60.     }
 61. 

in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 157)
 152.      */
 153.     private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
 154.     {
 155.         // request
 156.         $event = new RequestEvent($this, $request, $type);
 157.         $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
 158. 
 159.         if ($event->hasResponse()) {
 160.             return $this->filterResponse($event->getResponse(), $request, $type);
 161.         }
 162. 

in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 76)
 71.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
 72. 
 73.         $this->requestStack->push($request);
 74.         $response = null;
 75.         try {
 76.             return $response = $this->handleRaw($request, $type);
 77.         } catch (\Throwable $e) {
 78.             if ($e instanceof \Error && !$this->handleAllThrowables) {
 79.                 throw $e;
 80.             }
 81. 

in vendor/symfony/http-kernel/Kernel.php -> handle (line 197)
 192.         $this->boot();
 193.         ++$this->requestStackSize;
 194.         $this->resetServices = true;
 195. 
 196.         try {
 197.             return $this->getHttpKernel()->handle($request, $type, $catch);
 198.         } finally {
 199.             --$this->requestStackSize;
 200.         }
 201.     }
 202. 

Kernel->handle(object(Request)) in index.php/ (line 31)
 26. $request = Request::createFromGlobals();
 27. 
 28. @set_time_limit(0);
 29. @ignore_user_abort(true);
 30. 
 31. $response = $kernel->handle($request);
 32. 
 33. $response->send();
 34. 
 35. $kernel->terminate($request, $response);
 36. 

Phar::webPhar(null, 'index.php', null, array('php' => 0, 'css' => 'text/css',
'js' => 'application/x-javascript', 'png' => 'image/png', 'svg' =>
'image/svg+xml', 'json' => 'application/json', 'woff' => 'font/woff'),
'rewrites') in /home/mzaccessory/public_html/shopware-installer.phar.php (line
56)
 51.         }
 52. 
 53.         return 'index.php';
 54.     }
 55. 
 56.     Phar::webPhar(
 57.         null,
 58.         'index.php',
 59.         null,
 60.         [
 61.             'php' => Phar::PHP,


LOGS 1

Level
 * Emergency
 * Alert
 * Critical
 * Error
 * Warning
 * Notice
 * Info
 * Debug

Message info 15:56:12 Matched route "index".

{
    "route": "index",
    "route_parameters": {
        "_route": "index",
        "step": 0,
        "_controller": "Shopware\\WebInstaller\\Controller\\IndexController::index"
    },
    "request_uri": "https://mzaccessory.shop/shopware-installer.phar.php/",
    "method": "GET"
}

critical 15:56:12 Uncaught PHP Exception ErrorException: "Notice:
SessionHandler::gc(): ps_files_cleanup_dir:
opendir(/var/cpanel/php/sessions/ea-php82) failed: Permission denied (13)" at
StrictSessionHandler.php line 87

{
    "exception": {}
}


STACK TRACE

ErrorException

ErrorException:
Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php82) failed: Permission denied (13)

  at vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:87
  at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc(1440)
     (vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:64)
  at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc(1440)
  at session_start()
     (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:172)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
     (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:311)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
     (vendor/symfony/http-foundation/Session/Session.php:222)
  at Symfony\Component\HttpFoundation\Session\Session->getBag('attributes')
     (vendor/symfony/http-foundation/Session/Session.php:242)
  at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
     (vendor/symfony/http-foundation/Session/Session.php:64)
  at Symfony\Component\HttpFoundation\Session\Session->has('language')
     (Listener/InstallerLocaleListener.php:45)
  at Shopware\WebInstaller\Listener\InstallerLocaleListener->detectLanguage(object(Request))
     (Listener/InstallerLocaleListener.php:28)
  at Shopware\WebInstaller\Listener\InstallerLocaleListener->__invoke(object(RequestEvent), 'kernel.request', object(EventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:260)
  at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(object(RequestEvent), 'kernel.request', object(EventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:220)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(RequestEvent))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(RequestEvent), 'kernel.request')
     (vendor/symfony/http-kernel/HttpKernel.php:157)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:197)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (index.php/:31)
  at Phar::webPhar(null, 'index.php', null, array('php' => 0, 'css' => 'text/css', 'js' => 'application/x-javascript', 'png' => 'image/png', 'svg' => 'image/svg+xml', 'json' => 'application/json', 'woff' => 'font/woff'), 'rewrites')
     (/home/mzaccessory/public_html/shopware-installer.phar.php:56)