Katalog CWE

CWE-430 · Słabość

Deployment of Wrong Handler

Abstrakcja
Bazowa
Status
Niekompletny
Dodano
19 lipca 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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.

Skutki

  • Integrity, Other

    Varies by Context; Unexpected State

Zapobieganie

  • Architecture and Design

    Perform a type check before interpreting an object.

  • Architecture and Design

    Reject any inconsistent types, such as a file with a .GIF extension that appears to consist of PHP code.

Przykłady podatności

Słabość nadrzędna

Może prowadzić do

Pokrewna

Kiedy powstaje

Dotyczy

Not Language-Specific, Not Technology-Specific

Źródła

  1. The Art of Software Security Assessment — Mark Dowd, John McDonald, Justin Schuh, Chapter 3, "File Handlers", Page 74, Addison Wesley, 2006

Wpis z katalogu CWE 4.20.