CWE-1173 - Improper Use of Validation Framework

  • 摘要:Base
  • 结构:Simple
  • 状态:Draft
  • 发布日期:2019-01-03
  • 更新日期:2023-06-29

名称

Improper Use of Validation Framework

描述

The product does not use, or incorrectly uses, an input validation framework that is provided by the source language or an independent library.

Many modern coding languages provide developers with input validation frameworks to make the task of input validation easier and less error-prone. These frameworks will automatically check all input against specified criteria and direct execution to error handlers when invalid input is received. The improper use (i.e., an incorrect implementation or missing altogether) of these frameworks is not directly exploitable, but can lead to an exploitable condition if proper input validation is not performed later in the product. Not using provided input validation frameworks can also hurt the maintainability of code as future developers may not recognize the downstream input validation being used in the place of the validation framework.

常见后果

范围:Integrity

影响:Unexpected State

注释:Unchecked input leads to cross-site scripting, process control, and SQL injection vulnerabilities, among others.

相关 CWE