logo

CWE-234 - Failure to Handle Missing Parameter

CWE-234 High

  • Abstraction:
  • Variant
  • Structure:
  • Simple
  • Status:
  • Incomplete
Weakness Name

Failure to Handle Missing Parameter

Description

If too few arguments are sent to a function, the function will still pop the expected number of arguments from the stack. Potentially, a variable number of arguments could be exhausted in a function as well.

Common Consequences

Scope: Integrity, Confidentiality, Availability, Access Control

Impact: Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity

Notes: There is the potential for arbitrary code execution with privileges of the vulnerable program if function parameter list is exhausted.

Scope: Availability

Impact: DoS: Crash, Exit, or Restart

Notes: Potentially a program could fail if it needs more arguments then are available.

Related Weaknesses
  • Release Date:
  • 2006-07-19
  • Latest Modification Date:
  • 2024-02-29

Free security scan for your website