CWE-554 · Słabość
ASP.NET Misconfiguration: Not Using Input Validation Framework
- Abstrakcja
- Wariant
- Status
- Szkic
- Dodano
- 19 lipca 2006
- Ostatnia zmiana
- 29 czerwca 2023
Opis
The ASP.NET application does not use an input validation framework.
Skutki
Integrity
Unexpected State
Unchecked input leads to cross-site scripting, process control, and SQL injection vulnerabilities, among others.
Zapobieganie
Architecture and Design
Use the ASP.NET validation framework to check all program input before it is processed by the application. Example uses of the validation framework include checking to ensure that:
- Phone number fields contain only valid characters in phone numbers
- Boolean values are only "T" or "F"
- Free-form strings are of a reasonable length and composition
Słabość nadrzędna
Kiedy powstaje
- Architecture and Design
- Implementation
Dotyczy
ASP.NET
Wpis z katalogu CWE 4.20.