42 matches found
cve-2024-4577-lab
环境蓝图 操作系统容器:ubuntu:22.04(在 Windows WSL2 下运行)。 Web 服务器层:Apache2,modactions、modcgi 和 modcgid 被全局强制加载到主 apache2.conf 中。 语言解释器:PHP 8.1.2,严格以 CGI/FastCGI 模式(Server API)运行。 文件架构:一个可运行的 app/ 目录,其中托管着执行代码(index.php)和一个模拟的挑战资产。 核心漏洞机制研究 目标漏洞(CVE-2024-4577):一种参数注入问题,针对的是未经身份验证的参数直接传入 php-cgi 可执行引擎的系统。...
CVE-2024-4577
CVE-2024-4577 概要 CVE-2024-4577 は、以下のバージョンの PHP サーバーに影響を与えるセキュリティ脆弱性です。 PHP 8.3.x 8.3.8 以前 PHP 8.2.x 8.2.20 以前 PHP 8.1.x 8.1.29 以前 8.0 より前のすべてのバージョン サポートされていないバージョン 7.x および 5.x この脆弱性は、Windows サーバー上で PHP CGI Common Gateway Interface を使用する際に発生するリモートコード実行 RCE の欠陥です。問題は、一部の言語設定で「最適な文字マッピング」が使用されているために...
CVE-2024-4577-RCE
PHP CGI 引数インジェクション CVE-2024-4577 RCE 📜 説明 PHP 8.1.(8.1.29 以前)、8.2. (8.2.20 以前)、8.3.(8.3.8 以前)のバージョンにおいて、Windows 上で Apache と PHP-CGI を使用する際、システムが特定のコードページを使用するように設定されている場合、Windows は Win32 API 関数に与えられたコマンドラインの文字を置き換えるために「Best-Fit」動作を使用することがあります。PHP CGI モジュールはこれらの文字を PHP...
CVE-2024-4577-RCE-ATTACK
PHP CVE-2024-4577-RCE-ATTACK-ATTACK 📜 Description PHP 8.1.(8.1.29より前)、8.2. (8.2.20より前)、8.3.(8.3.8より前)のバージョンにおいて、Windows上でApacheとPHP-CGIを使用する際、システムが特定のコードページを使用するように設定されている場合、Windowsは「最適一致」動作を使用して、Win32 API関数に提供されるコマンドライン内の文字を置き換える可能性があります。PHP...
CVE-2024-4577
CVE-2024-4577 これはPHP CVE-2024-4577のPoCです。 はじめに デジタル環境におけるセキュリティはかつてないほど重要です。とはいえ、ウェブで最もよく使われるプログラミング言語の1つであるPHPに新たな脆弱性が発見され、その結果、数百万ものウェブサイトに目に見えない扉が開かれてしまったと想像してみてください。この脆弱性は CVE-2024-4577 として知られ、リモートの攻撃者が1CGIに引数を注入することで影響を受けるサーバー上で任意のコマンドを実行することを可能にします。この欠陥は、DEVCORE @d3vc0r3 のセキュリティ研究者 Orange...
CVE-2024-4577
PHP CGI 引数インジェクション CVE-2024-4577 RCE 📜 説明 PHP 8.1.(8.1.29 より前)、8.2. (8.2.20 より前)、8.3.(8.3.8 より前)のバージョンにおいて、Windows 上で Apache と PHP-CGI を使用している場合、システムが特定のコードページを使用するように設定されていると、Windows は Win32 API 関数に渡されるコマンドラインの文字を置き換える「Best-Fit」動作を行うことがあります。PHP CGI モジュールはこれらの文字を PHP...
CVE-2024-4577-PHP-CGI-RCE
php-CGi-RCE脆弱性用YAMLファイル - 高リスク 概要 php-CGiはWebサーバーでPHPスクリプトを実行するためのインターフェースであり、CGICommon Gateway Interfaceを通じてPHPインタプリタとWebサーバーを接続します。 脆弱性の原因 PHPは設計時にWindowsの文字変換におけるBest-Fit特性を無視していました。php-cgiがWindows上で動作し、以下の言語セット簡体字中国語936/繁体字950/日本語932などを使用している場合、攻撃者はcve-2012-1823のパッチを回避し、ログイン不要で任意のPHPコードを実行できま...
cve-2024-4577-phpcgi_rce_reproduction
CVE-2024-4577 - PHP CGI 参数注入漏洞(Windows "WorstFit") 概述 CVE-2024-4577 是 Windows 上 PHP CGI 实现中的一个严重远程代码执行漏洞。它绕过了原始 CVE-2012-1823 的修复,利用了 Windows "最佳匹配"(Best-Fit)代码页转换功能,通过 CGI 查询字符串夹带命令行参数。 CVSS 评分: 9.8(严重) 发现者: Orange Tsai(DEVCORE) 类型: 操作系统命令注入 / 参数注入 补丁日期: 2024 年 6 月 6 日 技术细节 当 PHP 以 CGI...
php-cgi-cve-2024-4577
php-cgi-cve-2024-4577 php-cgi-cve-2024-4577 海外IPから内部サーバーへのアクセス:これはPHP-CGI CVE-2024-4577 Argument Injectionイベント検出に登録された、PHP言語のCGIモードで発生するリモートコード実行脆弱性です。Windows環境でPHPがCGIモードで実行される場合、Unicode文字をサポートしないシステムでも、最も類似した文字にマッピングして変換するBest-fit機能が誤ったエンコード変換を引き起こし、このイベントが発生します。 - 生データ POST /php-cgi/php-cgi%AD...
CVE-2024-4577-EXPLOIT
CVE-2024-4577 - PHP CGI 引数インジェクション リモートコード実行 RCE 特定のバージョンのPHP(8.1. 8.1.29未満、8.2. 8.2.20未満、8.3. 8.3.8未満)において、Windows上でApacheとPHP-CGIを使用する場合に深刻な脆弱性が存在します。システムが特定のコードページを使用するように設定されている場合、Windowsの「Best-Fit」動作により、Win32...
Exploit for OS Command Injection in Php
CVE-2024-4577 — PHP-CGI Argument Injection → RCE Docker Lab /...
BIT-LIBPHP-2024-4577 Argument Injection in PHP-CGI
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...
CVE-2024-8067
In versions of Helix Core prior to 2024.1 Patch 2 2024.1/2655224 a Windows ANSI API Unicode "best fit" argument injection was identified...
SUSE CVE-2024-4577
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...
CVE-2024-47611
XZ Utils provide a general-purpose data-compression library plus command-line tools. When built for native Windows MinGW-w64 or MSVC, the command line tools from XZ Utils 5.6.2 and older have a command line argument injection vulnerability. If a command line contains Unicode characters for exampl...
SUSE CVE-2024-45720
On Windows platforms, a "best fit" character encoding conversion of command line arguments to Subversion's executables e.g., svn.exe, etc. may lead to unexpected command line argument interpretation, including argument injection and execution of other programs, if a specially crafted command line...
DEBIAN-CVE-2024-8926
In PHP versions 8.1. before 8.1.30, 8.2. before 8.2.24, 8.3. before 8.3.12, when using a certain non-standard configurations of Windows codepages, the fixes for CVE-2024-4577 https://github.com/advisories/GHSA-vxpp-6299-mxw3 may still be bypassed and the same command injection related to Windows...
CVE-2024-8926: Improper Neutralization of Special Elements used in an OS Command
In PHP versions 8.1. before 8.1.30, 8.2. before 8.2.24, 8.3. before 8.3.12, when using a certain non-standard configurations of Windows codepages, the fixes for CVE-2024-4577 https://github.com/advisories/GHSA-vxpp-6299-mxw3 may still be bypassed and the same command injection related to Windows...
SUSE CVE-2024-47611
XZ Utils provide a general-purpose data-compression library plus command-line tools. When built for native Windows MinGW-w64 or MSVC, the command line tools from XZ Utils 5.6.2 and older have a command line argument injection vulnerability. If a command line contains Unicode characters for exampl...
CVE-2024-47611
XZ Utils provide a general-purpose data-compression library plus command-line tools. When built for native Windows MinGW-w64 or MSVC, the command line tools from XZ Utils 5.6.2 and older have a command line argument injection vulnerability. If a command line contains Unicode characters for exampl...