Improper input validation in Reactphp HTTP
CVE-2022-36032
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.012 · 68.8th percentile
- Published
- 2022-09-06
ReactPHP HTTP is a streaming HTTP client and server implementation for ReactPHP. In ReactPHP's HTTP server component versions starting with 0.7.0 and prior to 1.7.0, when ReactPHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like `__Host-` and `__Secure-` confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. This issue is fixed in ReactPHP HTTP version 1.7.0. As a workaround, Infrastructure or DevOps can place a reverse proxy in front of the ReactPHP HTTP server to filter out any unexpected `Cookie` request headers.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.012, 68.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Reactphp HTTP — versions >= 0.7.0, < 1.7.0
Weakness classification (CWE)
References
- github.com/reactphp/http/security/advisories/GHSA-w3w9-vrf5-8mx8 (Patch, Third Party Advisory, Issue Tracking)
- github.com/reactphp/http/pull/175 (Patch, Third Party Advisory, Issue Tracking)
- github.com/reactphp/http/commit/663c9a3b77b71463fa7fcb76a6676ffd16979dd6 (Patch, Third Party Advisory)
- github.com/reactphp/http/releases/tag/v1.7.0 (Third Party Advisory, Release Notes)