CWE - 130 : Improper Handling of Length Parameter Inconsistency
|
CWE Definition
|
http://cwe.mitre.org/data/definitions/130.html
|
|
Number of vulnerabilities:
|
0
|
|
Description
|
The software parses a formatted message or structure, but it
does not handle or incorrectly handles a length field that is inconsistent with
the actual length of the associated data.If an attacker can manipulate the length parameter associated with an
input such that it is inconsistent with the actual length of the input, this
can be leveraged to cause the target application to behave in unexpected,
and possibly, malicious ways. One of the possible motives for doing so is to
pass in arbitrarily large input to the application. Another possible
motivation is the modification of application state by including invalid
data for subsequent properties of the application. Such weaknesses commonly
lead to attacks such as buffer overflows and execution of arbitrary
code. |
|
Background Details
|
|
|
Other Notes
|
|
|
|
Warning! CWE definitions are provided as a quick reference. They are
not complete and may not be up to date!
You must visit
http://cwe.mitre.org/ for a complete list of CWE entries
and for more details.