Apache TomEEにリクエストの権限が後続の処理に残る脆弱性、遠隔から特権で処理される恐れ
Summary
MicroProfile JWT認証を使うサーブレットで、異常終了したリクエストのセキュリティ状態が処理スレッドに残ることがあり、後続の無関係なリクエストが昇格したrun-asのIDでエンタープライズBeanを呼び出せてしまいます。影響はApache TomEE 8.0.0-M2から10.0.0-M1未満、10.0.0-M1から10.3.0未満、11.0.0-M1から11.0.0-M2未満で、修正版は10.0.0-M1、10.3.0、11.0.0-M2です。有効なトークンを持つ攻撃者が対象になるため、利用している版を確認し、修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
MicroProfile JWT認証を使うサーブレットで、異常終了したリクエストのセキュリティ状態が処理スレッドに残ることがあり、後続の無関係なリクエストが昇格したrun-asのIDでエンタープライズBeanを呼び出せてしまいます。影響はApache TomEE 8.0.0-M2から10.0.0-M1未満、10.0.0-M1から10.3.0未満、11.0.0-M1から11.0.0-M2未満で、修正版は10.0.0-M1、10.3.0、11.0.0-M2です。有効なトークンを持つ攻撃者が対象になるため、利用している版を確認し、修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache TomEE |
≥ 8.0.0-M2, < 10.0.0-M1→ 10.0.0-M1 ≥ 10.0.0-M1, < 10.3.0→ 10.3.0 ≥ 11.0.0-M1, < 11.0.0-M2→ 11.0.0-M2 |
10.0.0-M1 10.3.0 11.0.0-M2 |
Original description The description as published by the source.
When MicroProfile JWT authentication is used for servlets that declare a run-as identity, the security state established for a request is not always cleared from the processing thread when the request does not complete normally. A remote attacker holding a valid token can cause later, unrelated requests served by the same thread to invoke enterprise beans with the elevated run-as identity. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web lists.apache.org
- web nvd.nist.gov
- web github.com