FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| php | frankenphp | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Php | Frankenphp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v3ph-cgqh-r8p5 | FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.293% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Php
Php frankenphp |
|
| Vendors & Products |
Php
Php frankenphp |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | FrankenPHP is a modern application server for PHP. Prior to 1.12.5, FrankenPHP worker mode can retain PHP session state between requests when the session extension is loaded as a shared module and is unavailable through HAVE_PHP_SESSION at compile time. In this build configuration, frankenphp_reset_session_state() is compiled out, PS(id) can survive a request boundary, and a subsequent session_start() can ignore the new request's cookie because an identifier is already present. Under concurrent requests, session_id() can therefore return another client's identifier or a stale identifier from a previous request on the same worker thread, causing cross-user session exposure, possible session hijacking, and intermittent logout behavior. Builds with the session extension statically linked, including the official static binaries and Docker images, are not affected. This issue is fixed in version 1.12.5. | |
| Title | FrankenPHP: Cross-request PHP session ID leak in worker mode when the session extension is a shared module | |
| Weaknesses | CWE-362 CWE-488 |
|
| References |
| |
| Metrics |
cvssV3_1
|