CVE-2023-30536
Apache Slim PSR7 Header Injection Vulnerability
Description
slim/psr7 is a PSR-7 implementation for use with Slim 4. In versions prior to 1.6.1 an attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n. An attacker that is able to control the header names that are passed to Slilm-Psr7 would be able to intentionally craft invalid messages, possibly causing application errors or invalid HTTP requests being sent out with an PSR-18 HTTP client. The latter might present a denial of service vector if a remote service’s web application firewall bans the application due to the receipt of malformed requests. The issue has been patched in version 1.6.1. There are no known workarounds to this issue. Users are advised to upgrade.
INFO
Published Date :
April 17, 2023, 10:15 p.m.
Last Modified :
Nov. 21, 2024, 8 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.5
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-30536
.
URL | Resource |
---|---|
https://github.com/slimphp/Slim-Psr7/commit/ed1d553225dd190875d8814c47460daed4b550bb | Patch |
https://github.com/slimphp/Slim-Psr7/security/advisories/GHSA-q2qj-628g-vhfw | Vendor Advisory |
https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 | Technical Description |
https://github.com/slimphp/Slim-Psr7/commit/ed1d553225dd190875d8814c47460daed4b550bb | Patch |
https://github.com/slimphp/Slim-Psr7/security/advisories/GHSA-q2qj-628g-vhfw | Vendor Advisory |
https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 | Technical Description |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-30536
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-30536
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/slimphp/Slim-Psr7/commit/ed1d553225dd190875d8814c47460daed4b550bb Added Reference https://github.com/slimphp/Slim-Psr7/security/advisories/GHSA-q2qj-628g-vhfw Added Reference https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
May. 01, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L Changed Reference Type https://github.com/slimphp/Slim-Psr7/commit/ed1d553225dd190875d8814c47460daed4b550bb No Types Assigned https://github.com/slimphp/Slim-Psr7/commit/ed1d553225dd190875d8814c47460daed4b550bb Patch Changed Reference Type https://github.com/slimphp/Slim-Psr7/security/advisories/GHSA-q2qj-628g-vhfw No Types Assigned https://github.com/slimphp/Slim-Psr7/security/advisories/GHSA-q2qj-628g-vhfw Vendor Advisory Changed Reference Type https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 No Types Assigned https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4 Technical Description Added CPE Configuration OR *cpe:2.3:a:slimframework:slim_psr-7:*:*:*:*:*:*:*:* versions up to (excluding) 1.6.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-30536
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-30536
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.10 }} -0.31%
score
0.29840
percentile