CWE一覧に戻る
CWE-430

誤ったハンドラーの配置

Deployment of Wrong Handler
脆弱性 作成中
JA

間違った「ハンドラー」がオブジェクトの処理に割り当てられている。

間違ったハンドラーをデプロイする例としては、サーブレットを呼び出して.JSPファイルのソースコードを公開したり、オブジェクトの型が明示的に指定された型と矛盾していても自動的に「決定」したりすることが挙げられる。

EN

The wrong "handler" is assigned to process an object.

An example of deploying the wrong handler would be calling a servlet to reveal source code of a .JSP file, or automatically "determining" type of the object even if it is contradictory to an explicitly specified type.

Scope: Integrity, Other / Impact: Varies by Context; Unexpected State
Perform a type check before interpreting an object.
Reject any inconsistent types, such as a file with a .GIF extension that appears to consist of PHP code.
MITRE公式ページ — CWE-430