CVE-2024-2408
Last modified
CVE-2024-2408 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. EPSS estimates a 1.16% chance of exploitation in the next 30 days.
Description
The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable. PHP Windows builds for the versions 8.1.29, 8.2.20 and 8.3.8 and above include OpenSSL patches that fix the vulnerability.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.1.0, < 8.1.29 |
| Php | Php | >= 8.2.0, < 8.2.20 |
| Php | Php | >= 8.3.0, < 8.3.8 |
| Fedoraproject | Fedora | 40 |
References
- https://github.com/php/php-src/security/advisories/GHSA-hh26-4ppw-5864Exploit, Third Party Advisory
- https://github.com/php/php-src/security/advisories/GHSA-hh26-4ppw-5864Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-2408?
How severe is CVE-2024-2408?
How do I fix CVE-2024-2408?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-24051Improper input validation of printing files in Monoprice Sel…5.5
- CVE-2024-24059springboot-manager v1.6 is vulnerable to Arbitrary File Uplo…5.4
- CVE-2024-2406A vulnerability, which was classified as critical, was found…9.8
- CVE-2024-24060springboot-manager v1.6 is vulnerable to Cross Site Scriptin…5.4
- CVE-2024-24061springboot-manager v1.6 is vulnerable to Cross Site Scriptin…5.4
- CVE-2024-24062springboot-manager v1.6 is vulnerable to Cross Site Scriptin…5.4
- CVE-2024-2409The MasterStudy LMS plugin for WordPress is vulnerable to Pr…9.8
- CVE-2024-24091Yealink Meeting Server before v26.0.0.66 was discovered to c…9.8
- CVE-2024-24092SQL Injection vulnerability in Code-projects.org Scholars Tr…7.8
- CVE-2024-24093SQL Injection vulnerability in Code-projects Scholars Tracki…9.8
- CVE-2024-24095Code-projects Simple Stock System 1.0 is vulnerable to SQL I…9.8
- CVE-2024-24096Code-projects Computer Book Store 1.0 is vulnerable to SQL I…7.8
Are you affected by CVE-2024-2408?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
