1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

PHP脆弱性メモ

1
Posted at

CVE-2026-109618 - メモリ不足(OOM)時の破損を悪用したリモートコード実行(RCE)
CVE-2026-109619- 古いグローバル状態(stale global state)を悪用したリモートコード実行(RCE)

Microsoftの案内抜粋

Fixed versions:

8.5.12, 8.4.27, 8.3.36, 8.2.35. 

対策:

  • すべての PHP 環境を修正済みバージョンへアップグレードする
     仮想マシン(VM)
     コンテナ
     ベースイメージ
     PaaS 等のプラットフォームランタイム

  • 特に インターネット公開されているシステムを優先して対応する

  • 独自の PHP ランタイムを含むコンテナイメージを利用している場合は、コンテナイメージを再ビルドおよび再デプロイする

  • ホスト OS を更新しても、コンテナ内部の PHP は更新されない

  • 現在利用している PHP ブランチがサポート終了(EOL)している場合は、サポート対象バージョンへ移行する

  • Azure WAF による緩和策は一時的な補助対策として扱う

AmazonLinux

https://explore.alas.aws.amazon.com/CVE-2026-109618.html
https://explore.alas.aws.amazon.com/CVE-2026-109619.html

  • 影響製品:
    ①Amazon WorkMail(AWS対策済み)
    ②AWS Elastic Beanstalk
      → Customers with Managed Platform Updates enabled will receive the update automatically during their next maintenance window.
    ③Amazon Lightsail:
      → create new instances from the updated blueprints and migrate their applications following the documentation.
    ④Amazon Linux(Upgrade)
    image.png

  • 対策:
    以下のいずれかの修正版へアップグレードする

    PHP 8.5.12
    PHP 8.4.27
    PHP 8.3.36
    PHP 8.2.35

  • AWS WAF を利用している場合の暫定対策(Compensating Controls)
    CVE-2026-109618 向け
    AWS WAF Core Rule Set(CRS)の SizeRestrictions_BODY ルールを使用してください。
    →このルールは、8KB(8,192バイト)を超えるリクエストボディをブロックするもので、本脆弱性を悪用する攻撃のリスクを軽減できます。

  CVE-2026-109619 向け

  アプリケーションにパッチを適用するまでの間、Web ACL に以下の条件に一致するカスタムルールを追加することを推奨します。

  対象となるリクエスト条件:

    HTTP POST リクエストである
    リクエストボディに PHP_SESSION_UPLOAD_PROGRESS が含まれている
    リクエストボディまたは Cookie に PHPSESSID が含まれている
  →このルールにより、本脆弱性を悪用しようとする攻撃の防御が可能となります。

※AWS は今後 AWS WAF PHP Managed Rule Group を更新し、本脆弱性への対策を提供する予定です。

  • 注意
    End-of-life runtimes 5.4–8.1: Apply interim configuration controls for CVE-2026-109619 where effective, restart PHP workers, and begin migration to a supported, fixed PHP branch immediately. No fix is available for CVE-2026-109618 on end-of-life branches.

運用観点で確認する

以下の条件を満たす場合に優先調査対象となります。

高リスク
 インターネット公開している
 PHP を利用している
 PHP 8.2~8.5 の脆弱バージョンを利用している
 Web サーバ(Apache、Nginx、PHP-FPM 等)を稼働している
中リスク
 社内公開のみ
 VPN 経由のみアクセス可能
 WAF 配下
低リスク
 PHP を利用していない
 インターネット公開していない
 AWS マネージドサービスのみ利用

他の脆弱性

https://www.itmedia.co.jp/news/article/2610/22/2000002501/
https://nodejs.org/ja/blog/vulnerability/october-2026-security-releases

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?