概要
認証なしで、POST 限定のはずの処理を別の HTTP メソッドで呼び出せる。
元の説明(英語)を読む
Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default method and the action mapping does not name that method explicitly, the restriction is not enforced and the action can be invoked with any HTTP method. Applications that do not use these annotations are not affected. Actions that carry the annotation on the action class enforce the restriction as documented. This issue affects Apache Struts: from 6.2.0 through 6.13.0, from 7.0.0 through 7.4.0. Users are recommended to upgrade to version 7.5.0, which fixes the issue. The 6.x maintenance line does not carry the fix; on 6.x, declare the restriction on the action class instead of on the method.
影響を受ける人
Struts 6.2.0〜7.4.0 で @HttpPost などを使う人
対策
- Struts を 7.5.0 以降に更新する。
- 6.x は修正がないため、制限をアクションクラス側に宣言する。
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
公開されている PoC は、まだ見つかっていない。