CVE-2024-4577
PHP-CGI OS Command Injection Vulnerability
- 대응 우선순위
- 최우선
- CVSS
- 9.8
- EPSS
- 100.0% 백분위 100.0% · 2026.07.17 기준
- CISA KEV
- 등록
- 조치 기한
- 2024.07.03
- 공개일
- 2024.06.10
CISA KEV에 등록된 실제 악용 확인 취약점
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to replace characters in command line given to Win32 API functions. PHP CGI module may misinterpret those characters as PHP options, which may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.
제품 PHP Group PHP
영향 버전 PHP Group PHP 8.1.*, 8.2.*, 8.3.*, 8.1.0, 8.2.0, 8.3.0, >= 8.1.0 < 8.1.29, >= 8.2.0 < 8.2.20, >= 8.3.0 < 8.3.8, 39, 40
수정 버전 PHP Group PHP 8.1.29, 8.2.20, 8.3.8
영향 여부, 우선 대응, 정식 해결과 결과 확인 절차를 요약합니다.
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
조치 기한: 2024.07.03PHP Group PHP의 현재 전체 버전이 공식 영향 범위(PHP Group PHP 8.1.*, 8.2.*, 8.3.*, 8.1.0, 8.2.0, 8.3.0, >= 8.1.0 < 8.1.29, >= 8.2.0 < 8.2.20, >= 8.3.0 < 8.3.8, 39, 40)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
패치 후 같은 명령으로 전체 버전을 다시 확인해 PHP Group PHP 8.1.29, 8.2.20, 8.3.8 기준을 충족하는지 확인합니다. 이어서 명령어·코드 인젝션 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.
CVSS 벡터 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-78
KEV 등록일 2024.06.12
랜섬웨어 캠페인 사용 확인됨
CISA 비고 This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://www.php.net/ChangeLog-8.php#; https://nvd.nist.gov/vuln/detail/CVE-2024-4577
EPSS 데이터 기준일 2026.07.17