This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit

Cornucopia - Ecommerce Website - VE 6

Revision as of 14:16, 21 January 2016 by Dariodf (talk | contribs) (Created page with "{{DISPLAYTITLE:<span style="padding:2px 5px 0px 5px;color:white;background:#929292;">Cornucopia - Ecommerce Website - VE 6</span>}} File:Cornucopia_-_Ecommerce_Website_VE_6....")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Cornucopia - Ecommerce Website VE 6.png

Suit: Data Validation and Encoding

Card/Value: 6


Jason can bypass the centralized validation routines since they are not being used on all inputs.

Technical Note:

Centralized input validation routines are a good programming practice, but like other routines, developers need to understand how they work, how to use them and any limitations. Such routines can be tested independently of other code and not only provide assurance on the quality of the input validation, but it make refactorization an easy task and eliminate code duplicates and bad interpretations. Use of white list validation is recommended where possible. Black lists are usually good as a double-check complement, as they can trigger alerts for fake positives. Common attacks to bad implementation (or lack) of validation rutines are:

  • Buffer overflows.
  • Code injection.
  • Fuzzing.

If third party input validation libraries are used, it is important to test each routine before its implementation.

NB: This card relates to bypass of input data validation. See VE 5 for the similar bypass of output encoding.


3 5.6 IE2 28 3
168 IE3 16

« Previous Card | Data Validation and Encoding | Next Card »