NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-4577
Summary

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.

Publication Date June 10, 2024, 5:15 a.m.
Registration Date June 10, 2024, 10 a.m.
Last Update Nov. 21, 2024, 6:43 p.m.
CVSS3.1 : CRITICAL
スコア 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.0.0 8.1.29
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 8.2.0 8.2.20
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 8.3.0 8.3.8
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
The PHP Group の PHP における OS コマンドインジェクションの脆弱性
Title The PHP Group の PHP における OS コマンドインジェクションの脆弱性
Summary

The PHP Group の PHP には、OS コマンドインジェクションの脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

参考情報を参照して適切な対策を実施してください。

Publication Date June 9, 2024, midnight
Registration Date June 11, 2024, 1:50 p.m.
Last Update July 1, 2024, 12:27 p.m.
Affected System
The PHP Group
PHP 5.0.0 以上 8.1.29 未満
PHP 8.2.0 以上 8.2.20 未満
PHP 8.3.0 以上 8.3.8 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年06月11日]   掲載 June 11, 2024, 1:49 p.m.
2 [2024年07月01日]
  参考情報:CISA Known Exploited Vulnerabilities Catalog (CVE-2024-4577) を追加
July 1, 2024, 11:16 a.m.