WP脆弱性ウォッチ脆弱性データ 2026年8月28日 時点

CVE-2026-4132

HTTP Headers に報告された脆弱性

深刻度
7.2CVSS 3.1
未公表修正されたバージョン
1.0%30日以内に悪用される確率

今後30日以内に悪用される確率は 1.0% と推定されています(EPSS)。 現時点で活発な悪用は観測されていませんが、修正版が出ている場合は更新を推奨します。

概要

The HTTP Headers plugin for WordPress is vulnerable to External Control of File Name or Path leading to Remote Code Execution in all versions up to and including 1.19.2. This is due to insufficient validation of the file path stored in the 'hh_htpasswd_path' option and lack of sanitization on the 'hh_www_authenticate_user' option value. The plugin allows administrators to set an arbitrary file path for the htpasswd file location and does not validate that the path has a safe file extension (e.g., restricting to .htpasswd). Additionally, the username field used for HTTP Basic Authentication is written directly into the file without sanitization. The apache_auth_credentials() function constructs the file content using the unsanitized username via sprintf('%s:{SHA}%s', $user, ...), and update_auth_credentials() writes this content to the attacker-controlled path via file_put_contents(). This makes it possible for authenticated attackers, with Administrator-level access and above, to write arbitrary content (including PHP code) to arbitrary file paths on the server, effectively achieving Remote Code Execution.

CWE: CWE-73 / 公開 2026年4月22日 / 最終更新 2026年6月17日

影響を受けるバージョン

対処方法

修正版が公表されていません。最新版への更新、無効化、または代替プラグインへの移行を検討してください。

HTTP Headers の他の脆弱性を見る →

あなたのサイトは大丈夫ですか?

URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。

30秒で無料診断する

参照