Apache Struts、Bean Validationの検証メッセージ経由で遠隔からコードを実行される脆弱性
Summary
Bean Validationプラグインを使うアプリケーションで、送信された値が式として評価され、遠隔からコードを実行されるおそれがあります。影響を受けるのはApache Struts 2.5.0から2.5.33、6.0.0から6.12.0、7.0.0から7.4.0です。修正版は6.13.0と7.5.0で、利用中のバージョンを上げることが推奨されています。
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.
Bean Validationプラグインを使うアプリケーションで、送信された値が式として評価され、遠隔からコードを実行されるおそれがあります。影響を受けるのはApache Struts 2.5.0から2.5.33、6.0.0から6.12.0、7.0.0から7.4.0です。修正版は6.13.0と7.5.0で、利用中のバージョンを上げることが推奨されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache Struts |
2.5.0 – 2.5.33→ Not listed 6.0.0 – 6.12.0→ Not listed 7.0.0 – 7.4.0→ Not listed |
Not listed Not listed Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application uses the Bean Validation plugin, a validation message that places the submitted value into its text could be evaluated as an expression rather than shown as text, which may lead to remote code execution. This can happen with validation constraints whose standard message already includes the value being validated. Struts 7 is affected only when the OGNL allowlist is disabled; it is enabled by default. Applications that do not use the Bean Validation plugin are not affected.
This issue affects Apache Struts: from 2.5.0 through 2.5.33, from 6.0.0 through 6.12.0, from 7.0.0 through 7.4.0.
Users are recommended to upgrade to version 6.13.0 or 7.5.0, which fixes the issue.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory openwall.com
- patch security@apache.org
- web nvd.nist.gov
- web github.com