|
|
|
CWE-430: Deployment of Wrong Handler
Weakness ID: 430
Vulnerability Mapping:
ALLOWED
This CWE ID may be used to map to real-world vulnerabilities
Abstraction:
Base
Base - a weakness that is still mostly independent of a resource or technology, but with sufficient details to provide specific methods for detection and prevention. Base level weaknesses typically describe issues in terms of 2 or 3 of the following dimensions: behavior, property, technology, language, and resource.
|
Description
The wrong "handler" is assigned to process an object.
Extended Description
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.
Common Consequences
This table specifies different individual consequences
associated with the weakness. The Scope identifies the application security area that is
violated, while the Impact describes the negative technical impact that arises if an
adversary succeeds in exploiting this weakness. The Likelihood provides information about
how likely the specific consequence is expected to be seen relative to the other
consequences in the list. For example, there may be high likelihood that a weakness will be
exploited to achieve a certain impact, but a low likelihood that it will be exploited to
achieve a different impact.
Scope |
Impact |
Likelihood |
Integrity Other |
Technical Impact: Varies by Context; Unexpected State
|
|
Potential Mitigations
Phase: Architecture and Design
Perform a type check before interpreting an object.
|
Phase: Architecture and Design
Reject any inconsistent types, such as a file with a .GIF extension that appears to consist of PHP code.
|
Relationships
This table shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOf and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition,
relationships such as PeerOf and CanAlsoBe are defined to show similar weaknesses that the user
may want to explore.
Relevant to the view "Research Concepts" (CWE-1000)
Nature |
Type |
ID |
Name |
ChildOf |
Pillar - a weakness that is the most abstract type of weakness and represents a theme for all class/base/variant weaknesses related to it. A Pillar is different from a Category as a Pillar is still technically a type of weakness that describes a mistake, while a Category represents a common characteristic used to group related things.
|
691
|
Insufficient Control Flow Management
|
PeerOf |
Base - a weakness that is still mostly independent of a resource or technology, but with sufficient details to provide specific methods for detection and prevention. Base level weaknesses typically describe issues in terms of 2 or 3 of the following dimensions: behavior, property, technology, language, and resource.
|
434
|
Unrestricted Upload of File with Dangerous Type
|
CanPrecede |
Variant - a weakness that is linked to a certain type of product, typically involving a specific language or technology. More specific than a Base weakness. Variant level weaknesses typically describe issues in terms of 3 to 5 of the following dimensions: behavior, property, technology, language, and resource.
|
433
|
Unparsed Raw Web Content Delivery
|
This table shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOf and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition,
relationships such as PeerOf and CanAlsoBe are defined to show similar weaknesses that the user
may want to explore.
Relevant to the view "Software Development" (CWE-699)
Nature |
Type |
ID |
Name |
MemberOf |
Category - a CWE entry that contains a set of other entries that share a common characteristic.
|
429
|
Handler Errors
|
Modes
Of Introduction
The different Modes of Introduction provide information
about how and when this
weakness may be introduced. The Phase identifies a point in the life cycle at which
introduction
may occur, while the Note provides a typical scenario related to introduction during the
given
phase.
Phase |
Note |
Implementation |
|
Observed
Examples
Reference |
Description |
|
Source code disclosure via manipulated file extension that causes parsing by wrong DLL.
|
|
Web browser does not properly handle the Content-Type header field, causing a different application to process the document.
|
|
Source code disclosure by directly invoking a servlet.
|
|
Arbitrary Perl functions can be loaded by calling a non-existent function that activates a handler.
|
Weakness Ordinalities
Ordinality |
Description |
Resultant
|
(where the weakness is typically related to the presence of some other weaknesses)
This weakness is usually resultant from other weaknesses.
|
Memberships
This MemberOf Relationships table shows additional CWE Categories and Views that
reference this weakness as a member. This information is often useful in understanding where a
weakness fits within the context of external information sources.
Vulnerability Mapping Notes
Usage:
ALLOWED
(this CWE ID may be used to map to real-world vulnerabilities)
|
Reason:
Acceptable-Use
|
Rationale:
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
|
Comments: Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
|
Taxonomy
Mappings
Mapped Taxonomy Name |
Node ID |
Fit |
Mapped Node Name |
PLOVER |
|
|
Improper Handler Deployment |
References
[REF-62] Mark Dowd, John McDonald and Justin Schuh. "The Art of Software Security Assessment". Chapter 3, "File Handlers", Page 74. 1st Edition. Addison Wesley. 2006.
|
More information is available — Please edit the custom filter or select a different filter.
|