Apache Strutsに認証不要で サーバーのCPUとメモリを枯渇させられる脆弱性
Summary
Apache Strutsには、リクエストパラメーターをBigDecimalのプロパティに割り当てる構成で、サーバーのCPUとメモリを大量に消費させられる脆弱性が見つかりました。認証なしで遠隔から攻撃できるおそれがあり、CVSSの基本値は7.5です。影響を受けるのは2.5.12〜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.
Apache Strutsには、リクエストパラメーターをBigDecimalのプロパティに割り当てる構成で、サーバーのCPUとメモリを大量に消費させられる脆弱性が見つかりました。認証なしで遠隔から攻撃できるおそれがあり、CVSSの基本値は7.5です。影響を受けるのは2.5.12〜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.12 – 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.
Asymmetric resource consumption (amplification) vulnerability in Apache Struts. When a request parameter is bound to an arbitrary-precision decimal (java.math.BigDecimal) property that is then rendered through the number tag, or passed as an argument into a localized message, including the error message of a validator that rejects the value, the framework can build a string many orders of magnitude larger than the request that produced it. The string is built on the server whether or not it is sent to the client, allowing an unauthenticated remote attacker to exhaust server CPU and memory. Applications that do not bind request parameters to BigDecimal properties, or that neither render them with the number tag nor pass them into localized messages, are not affected. Properties of other numeric types are not affected.
This issue affects Apache Struts: from 2.5.12 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
- web security@apache.org
- web nvd.nist.gov
- web github.com
- web openwall.com