https://wiki.owasp.org/index.php?title=Cornucopia_-_Ecommerce_Website_-_VE_6&feed=atom&action=historyCornucopia - Ecommerce Website - VE 6 - Revision history2024-03-29T00:30:10ZRevision history for this page on the wikiMediaWiki 1.27.2https://wiki.owasp.org/index.php?title=Cornucopia_-_Ecommerce_Website_-_VE_6&diff=207014&oldid=prevDariodf: 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...."2016-01-21T14:16:40Z<p>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...."</p>
<p><b>New page</b></p><div>{{DISPLAYTITLE:<span style="padding:2px 5px 0px 5px;color:white;background:#929292;">Cornucopia - Ecommerce Website - VE 6</span>}}<br />
[[File:Cornucopia_-_Ecommerce_Website_VE_6.png|frame|right]]<br />
'''Suit:''' [[Cornucopia_-_Ecommerce_Website_-_VE|Data Validation and Encoding]]<br />
<br />
'''Card/Value:''' 6<br />
<br />
=== Description: ===<br />
<br />
Jason can bypass the centralized validation routines since they are not being used on all inputs.<br />
<br />
=== Technical Note: ===<br />
<br />
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.<br />
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:<br />
* Buffer overflows.<br />
* Code injection.<br />
* Fuzzing.<br />
If third party input validation libraries are used, it is important to test each routine before its implementation.<br />
<br />
NB: This card relates to bypass of '''input data validation'''. See [[Cornucopia_-_Ecommerce_Website_-_VE_5|VE 5]] for the similar bypass of output encoding.<br />
<br />
=== References: ===<br />
<br />
<table class="wikitable" style="text-align:center;"><br />
<br />
<tr><br />
<th>OWASP SCP </th><br />
<th>OWASP ASVS </th><br />
<th>OWASP AppSensor </th><br />
<th>CAPEC </th><br />
<th>SAFECODE </th><br />
</tr><br />
<br />
<tr><br />
<td>[[OWASP_Secure_Coding_Practices_Checklist#3|3]]</td><br />
<td>[[OWASP_Application_Security_Verification_Standard#5.6|5.6]]</td><br />
<td>[[AppSensor_DetectionPoints#IE2|IE2]]</td><br />
<td>[https://capec.mitre.org/data/definitions/28.html 28]</td><br />
<td>[[SAFECode_Practical_Security_Stories#3|3]]</td><br />
</tr><br />
<br />
<tr><br />
<td>[[OWASP_Secure_Coding_Practices_Checklist#168|168]]</td><br />
<td> </td><br />
<td>[[AppSensor_DetectionPoints#IE3|IE3]]</td><br />
<td> </td><br />
<td>[[SAFECode_Practical_Security_Stories#16|16]]</td><br />
</tr><br />
<br />
<tr><br />
<td> </td><br />
<td> </td><br />
<td> </td><br />
<td> </td><br />
<td>[[SAFECode_Practical_Security_Stories#24|24]]</td><br />
</tr><br />
</table><br />
<br />
<br />
<br />
<div style="padding:5px;background:LightGray;color:White;font-weight:bold;">[[Cornucopia_-_Ecommerce_Website_-_VE_5|« Previous Card]] <span style="padding-left:10px;padding-right:10px;">|</span> [[Cornucopia_-_Ecommerce_Website_-_VE|Data Validation and Encoding]] <span style="padding-left:10px;padding-right:10px;">|</span> [[Cornucopia_-_Ecommerce_Website_-_VE_7|Next Card »]] </div></div>Dariodf