ADVISORIES

GitHub Advisory Database

GHSA-q433-j342-rp9h

Pimcore ENV Variables and Cookie Informations are exposed in http_error_log

Details

Summary

The http_error_log file stores the $_COOKIE and $_SERVER variables, which means sensitive information such as database passwords, cookie session data, and other details can be accessed or recovered through the Pimcore backend.

Details

It’s better to remove both lines, as this information makes little sense in this context anyway.

https://github.com/pimcore/pimcore/blob/12.x/bundles/SeoBundle/src/EventListener/ResponseExceptionListener.php#L92 https://github.com/pimcore/pimcore/blob/12.x/bundles/SeoBundle/src/EventListener/ResponseExceptionListener.php#L93

PoC

In the Pimcore backend, navigate to "Search Engine Optimization" and click on "HTTP Errors." Double-click on an entry to view its details. Here, you may find sensitive data exposed.

Impact

Pimcore backend users can access sensitive environment variables, potentially exposing critical information.

Affected packages

EcosystemPackageAffected versions
Packagistpimcore/pimcore
From 12.0.0-RC1 before 12.3.1 (fixed in 12.3.1)
Packagistpimcore/pimcore
All versions before 11.5.14 (fixed in 11.5.14)

References