DATA VALIDATION & ENCODING (VE9)

Shamun can bypass input validation or output validation checks because validation failures are not rejected and/or sanitized

DATA VALIDATION & ENCODING
9

Shamun can bypass input validation or output validation checks because validation failures are not rejected and/or sanitized

OWASP SCP

6,21,22,168

OWASP ASVS

7.1.3

OWASP AppSensor

IE2,IE3

CAPEC

-

SAFECODE

3,16,24

How to play?

Extensive checks and validations can be made of inputs and outputs, but proper actions following the results is what provides security. Data sanitization is a good approach for outputs, as this data is already accepted by the system. Failing input validation always needs to result in rejection. It is also useful to log (associated with the user's identity if possible) and flag these as probably malicious activity for further analysis, or as input for application intrusion detection systems.

NB: Unlike other cards in this suit, VE 9 assumes that input and output validation checks are in place, however they do not correctly respond to incorrect input.

Mappings

OWASP ASVS (4.0): 7.1.3

Capec: 28

OWASP SCP: 6,21,22,168

OWASP Appsensor: IE2,IE3

Safecode: 3,16,24

ASVS (4.0) Cheatsheetseries Index

ASVS V7.1 - Log Content Requirements

No suitable mappings were found.

Attacks

SQL Injection

Cross-Site Scripting (XSS)

Command Injection

(Session) Data tampering

Privilege escalation

OWASP Cornucopia

  • OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use.
  • OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 3.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.
  • © 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.