CWE-430

Deployment of Wrong Handler

Medium

Description

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

Potential Impact

How to Fix

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.

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-430 vulnerabilities in your codebase.

Get Security Assessment