CVE-2025-14388
PhastPress に報告された脆弱性
概要
The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all versions up to, and including, 3.7. This is due to a discrepancy between the extension validation in `getExtensionForURL()` which operates on URL-decoded paths, and `appendNormalized()` which strips everything after a null byte before constructing the filesystem path. This makes it possible for unauthenticated attackers to read arbitrary files from the webroot, including wp-config.php, by appending a double URL-encoded null byte (%2500) followed by an allowed extension (.txt) to the file path.
影響を受けるバージョン
- 0以上 〜 3.7以下
対処方法
PhastPress を 3.8 以降に更新してください。これで本脆弱性は解消します。
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9570
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9597
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9608
- https://plugins.trac.wordpress.org/browser/phastpress/tags/3.6/sdk/phast.php#L9641
- https://plugins.trac.wordpress.org/changeset/3418139
- https://www.wordfence.com/threat-intel/vulnerabilities/id/eec9bbc0-5a68-4624-a672-bd6227d6fa45?source=cve