VDB
Sign up
HIGH8.6

GHSA-q433-j342-rp9h

Pimcore ENV Variables and Cookie Informations are exposed in http_error_log

Quick fix

GHSA-q433-j342-rp9h — pimcore/pimcore: upgrade to the fixed version with the command below.

composer require pimcore/pimcore:^12.3.1

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/pimcore/pimcore
Introduced in: 12.0.0-RC1Fixed in: 12.3.1
Fixcomposer require pimcore/pimcore:^12.3.1
Packagist/pimcore/pimcore
Introduced in: 0Fixed in: 11.5.14
Fixcomposer require pimcore/pimcore:^11.5.14

References