CVE-2024-1874
Last modified
CVE-2024-1874 is a critical-severity vulnerability rated 9.4/10 on the CVSS scale. In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.. EPSS estimates a 32.57% chance of exploitation in the next 30 days.
Description
In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.1.0, < 8.1.28 |
| Php | Php | >= 8.2.0, < 8.2.18 |
| Php | Php | >= 8.3.0, < 8.3.5 |
| Fedoraproject | Fedora | 39 |
| Fedoraproject | Fedora | 40 |
References
- https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7Exploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240510-0009/Third Party Advisory
- https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7Exploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240510-0009/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-1874?
How severe is CVE-2024-1874?
How do I fix CVE-2024-1874?
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-1868G DATA Total Security Link Following Local Privilege Escalat…7.8
- CVE-2024-1869Certain HP DesignJet print products are potentially vulnerab…7.5
- CVE-2024-1870The Colibri Page Builder plugin for WordPress is vulnerable …4.3
- CVE-2024-1871A vulnerability, which was classified as problematic, was fo…5.4
- CVE-2024-1872The Button plugin for WordPress is vulnerable to PHP Object …8.8
- CVE-2024-1873parisneo/lollms-webui is vulnerable to path traversal and de…9.1
- CVE-2024-1875A vulnerability was found in SourceCodester Complaint Manage…8.8
- CVE-2024-1876A vulnerability was found in SourceCodester Employee Managem…9.8
- CVE-2024-1877A vulnerability was found in SourceCodester Employee Managem…8.8
- CVE-2024-1878A vulnerability was found in SourceCodester Employee Managem…8.8
- CVE-2024-1879A Cross-Site Request Forgery (CSRF) vulnerability in signifi…8.8
- CVE-2024-1880An OS command injection vulnerability exists in the MacOS Te…7.8
Are you affected by CVE-2024-1874?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
