Vulnerability Details : CVE-2024-5458
Potential exploit
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.
Products affected by CVE-2024-5458
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2024-5458
0.25%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2024-5458
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
N/A
|
N/A
|
PHP Group | 2024-06-09 |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
NIST | 2024-06-12 |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
PHP Group | 2024-06-09 |
CWE ids for CVE-2024-5458
-
The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2024-5458
-
https://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27w
Filter bypass in filter_var (FILTER_VALIDATE_URL) · Advisory · php/php-src · GitHubExploit;Vendor Advisory
-
http://www.openwall.com/lists/oss-security/2024/06/07/1
oss-security - PHP security releases 8.3.8, 8.2.20, and 8.1.29Mailing List;Third Party Advisory
-
https://security.netapp.com/advisory/ntap-20240726-0001/
CVE-2024-5458 PHP Vulnerability in NetApp Products | NetApp Product Security
-
https://lists.debian.org/debian-lts-announce/2024/06/msg00009.html
[SECURITY] [DLA 3833-1] php7.3 security update
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/
[SECURITY] Fedora 39 Update: php-8.2.20-1.fc39 - package-announce - Fedora Mailing-Lists
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/
[SECURITY] Fedora 40 Update: php-8.3.8-1.fc40 - package-announce - Fedora Mailing-ListsThird Party Advisory
Jump to