CWE一覧に戻る
CWE-180

誤った動作順序:正規化する前に検証する

Incorrect Behavior Order: Validate Before Canonicalize
脆弱性 レビュー中
JA

この製品は、正規化される前に入力を検証するため、正規化ステップの後で無効となったデータを検出することがない。

攻撃者はこれを利用して、検証をバイパスし、インジェクションのような、本来なら防がれるはずの弱点を露呈させる攻撃を仕掛けることができる。

EN

The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step.

This can be used by an attacker to bypass the validation and launch attacks that expose weaknesses that would otherwise be prevented, such as injection.

Scope: Access Control / Impact: Bypass Protection Mechanism
Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
MITRE公式ページ — CWE-180