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

Difference between revisions of "OWASP Common Numbering Project"

From OWASP
Jump to: navigation, search
(Primary OWASP CWVN Table (DRAFT))
 
(46 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== Introduction  ==
+
{|
 +
|-
 +
! width="700" align="center" | <br>
 +
! width="500" align="center" | <br>
 +
|-
 +
| align="right" | [[Image:OWASP Inactive Banner.jpg|800px| link=https://www.owasp.org/index.php/OWASP_Project_Stages#tab=Inactive_Projects]]
 +
| align="right" |
 +
 
 +
|}
 +
 
 +
==== Home ====
 +
<table width="100%" valign="top"><tr><th width="100%"> </th><th> </th></tr><tr valign="top">
 +
<td>'''Common OWASP Numbering'''
 +
 
 +
An exciting development, a new numbering scheme that will be common across various OWASP Guides and References is being developed. This  numbering scheme is loosely based on the OWASP ASVS section and detailed requirements numbering. The OWASP ASVS, Guide, and Reference project leads and contributors plan to work together to develop a numbering scheme that facilitates easier mapping between various OWASP Guides and References, and that would allow for a period of transition as the Guides and References are updated to reflect the new numbering scheme. This project will provide a centralized clearinghouse for mapping information. For more information on this project, or if you wish to contribute, please contact [mailto:[email protected] Dave Wichers].
  
Here is the generally agreed-upon new numbering scheme. Additional explanatory text coming soon. Questions/Comments? Email [mailto:mike.[email protected] Mike] or [mailto:[email protected] Brad]. .  
+
This common numbering scheme will be of requirements. A mapping of vulnerabilities to this requirements list will most likely be developed after the common requirements list is created. This common numbering scheme is intended to be independent of any particular OWASP project and is not intended to dictate how those projects are developed and organized. Its intent is to be a resource to facilitate cross referencing between related topics and to encourage, but not require, projects like the OWASP Guides to adopt a similar structure. But that decision is up to the respective project leads.
 +
</td>
 +
</tr>
 +
</table>
  
OWASP-06
+
==== OWASP Common Requirements Numbering Scheme DRAFT====
OWASP-06-DEPRECATED
+
<table width="100%" valign="top"><tr><th width="50%"> </th><th> </th></tr><tr valign="top">
OWASP-0604
+
<td>'''Proposed OWASP Common Requirements Numbering Scheme Format:'''
OWASP-0604-DEPRECATED
 
OWASP-0604-DG
 
OWASP-0604-DG-01
 
OWASP-0604-TG
 
OWASP-0604-TG-DV-005
 
OWASP-0604-TG-DV-005-DEPRECATED
 
  
  0123456789012345678901234567890123456789
+
  OCR-AUTHN-01
          1        2        3
+
OCR-AUTHN-02
 +
OCR-AUTHN-02.01
 +
OCR-AUTHN-03
 +
OCR-INPVAL-01
 +
OCR-INPVAL-02
  
*0-4 OWASP
+
Common Requirements Numbering Scheme Proposed Requirement Areas:
*6-7 Detailed requirement identifier (major)
+
* OCR-AUTHN: Authentication
*8-9 Detailed requirement identifier (minor)
+
* OCR-SESS: Session Management
*11-12 Document code (DG=Development Guide, TG=Testing Guide, CG=Code Review Guide, AR, ED, RM, OR, others reserved)
+
* OCR-INPVAL: Input Validation
*14-40 (Optional: DEPRECATED, or # for iterations, or legacy identifiers)
+
* OCR-OUTENC: Output Encoding
 +
* OCR-AUTHZ: Functional and Data Layer Access Control
 +
* OCR-BUS: Business Logic
 +
* OCR-DATAP: Sensitive Data Protection
 +
* OCR-CRYPST: Cryptographic Storage
 +
* OCR-COMMS: Communication Security
 +
* OCR-ERROR: Error Handling
 +
* OCR-LOG: Logging
 +
* OCR-DBASE: Secure Database Usage
 +
* OCR-FILE: Secure File Access
 +
* OCR-MEM: Memory Management
 +
* OCR-GEN: General Coding Practices
 +
* OCR-CONFIG: Secure System Configuration
 +
* OCR-INTEG: Integrity
 +
* OCR-AVAIL: Availability
  
<br>
+
</td>
 +
<td>'''Reference'''
 +
*1st Element - Document code (OCR=OWASP Common Requirements Number, ODG=OWASP Development Guide, OTG=OWASP Testing Guide, OCG=OWASP Code Review Guide, others reserved)
 +
*2nd Element - Requirement Area (major)
 +
*3rd Element - Detailed Requirement Identifier (minor with up to one sublevel (e.g., .01, .02)
 +
*4th Element (Optional: DEPRECATED, or # for iterations, or legacy identifiers)<br>
 +
</td></tr>
 +
</table>
  
== Primary OWASP CWVN Table (DRAFT==
+
==== OWASP Common Requirements - DRAFT ====
This table outlines the OWASP Common Web Vulnerability Numbering(CWVN)
+
 
 +
The following is the first section we have developed of common requirements. It is the section on Authentication (OCR-AUTHN). This is draft, and your feedback is very welcome. Please provide any feedback to [mailto:[email protected] Dave Wichers].
  
 
{| class="prettytable"
 
{| class="prettytable"
 
|-
 
|-
| <center>'''CWVN Number'''</center>  
+
| <center>'''OWASP Common Number'''</center>  
| <center>'''Description'''</center>  
+
| <center>'''Common Requirement'''</center>  
|-
 
| '''OWASP-0100'''
 
| '''Information Gathering'''
 
|-
 
| OWASP-0101
 
| Spiders, Robots and Crawlers
 
|-
 
| OWASP-0102
 
| Search Engine Discovery/Reconnaissance
 
|-
 
| OWASP-0103
 
| Identify application entry points
 
|-
 
| OWASP-0104
 
| Testing for Web Application Fingerprint
 
|-
 
| OWASP-0105
 
| Application Discovery
 
|-
 
| OWASP-0106
 
| Analysis of Error Codes
 
|-
 
|'''OWASP-0200'''
 
|'''Configuration Management Testing'''
 
|-
 
| OWASP-0201
 
| SSL/TLS Testing (SSL Version, Algorithms, Key length, Digital Cert. Validity)
 
|-
 
| OWASP-0202
 
| DB Listener Testing
 
|-
 
| OWASP-0203
 
| Infrastructure Configuration Management Testing
 
|-
 
| OWASP-0204
 
| Application Configuration Management Testing
 
|-
 
| OWASP-0205
 
| Testing for File Extensions Handling
 
|-
 
| OWASP-0206
 
| Old, backup and unreferenced files
 
|-
 
| OWASP-0207
 
| Infrastructure and Application Admin Interfaces
 
|-
 
| OWASP-0208
 
| Testing for HTTP Methods and XST
 
|-
 
| OWASP-0209
 
| Insecure Cryptographic Storage
 
|-
 
|'''OWASP-0300'''
 
|'''Authentication Testing'''
 
|-
 
| OWASP-0301
 
| Credentials transport over an encrypted channel
 
|-
 
| OWASP-0302
 
| Testing for user enumeration
 
|-
 
| OWASP-0303
 
| Testing for Guessable (Dictionary) User Account
 
|-
 
| OWASP-0304
 
| Brute Force Testing
 
|-
 
| OWASP-0305
 
| Testing for bypassing authentication schema
 
|-
 
| OWASP-0306
 
| Testing for vulnerable remember password and pwd reset
 
|-
 
| OWASP-0307
 
| Testing for Logout and Browser Cache Management
 
|-
 
| OWASP-0308
 
| Testing for CAPTCHA
 
|-
 
| OWASP-0309
 
| Testing Multiple Factors Authentication
 
|-
 
| OWASP-0310
 
| Testing for Race Conditions
 
|-
 
|'''OWASP-0400'''
 
|'''Session Management'''
 
|-
 
| OWASP-0401
 
| Testing for Session Management Schema
 
|-
 
| OWASP-0402
 
| Testing for Cookies attributes
 
|-
 
| OWASP-0403
 
| Testing for Session Fixation
 
|-
 
| OWASP-0404
 
| Testing for Exposed Session Variables
 
|-
 
| OWASP-0405
 
| Testing for CSRF
 
|-
 
|'''OWASP-0500'''
 
|'''Authorization Testing'''
 
|-
 
| OWASP-0501
 
| Testing for Path Traversal
 
 
|-
 
|-
| OWASP-0502
+
| align="center" colspan="2" | '''Authentication Requirements'''
| Testing for bypassing authorization schema
 
 
|-
 
|-
| OWASP-0503
+
| OCR-AUTH-01
| Testing for Privilege Escalation
+
| All authentication controls operate on a trusted system (e.g., The server).
 
|-
 
|-
|'''OWASP-0600'''
+
| OCR-AUTH-02
|'''Business logic testing'''
+
| Authentication is required for all pages and resources, except those specifically intended to be public.
|-
 
| OWASP-0601
 
| Testing for business logic
 
 
|-
 
|-
|'''OWASP-0700'''
+
| OCR-AUTH-03
|'''Data Validation Testing'''
+
| The application utilizes standardized, tested, and centralized authentication services.
|-
 
| OWASP-0701
 
| Testing for Reflected Cross Site Scripting
 
 
|-
 
|-
| OWASP-0702
+
| OCR-AUTH-04
| Testing for Stored Cross Site Scripting
+
| Authentication services utilize a centralized authentication store.
 
|-
 
|-
| OWASP-0703
+
| OCR-AUTH-05
| Testing for DOM based Cross Site Scripting
+
| All authentication controls fail securely.
 
|-
 
|-
| OWASP-0704
+
| OCR-AUTH-06
| Testing for Cross Site Flashing
+
| System configurable password strength requirements are enforced. This includes both minimum length and minimum complexity rules.
 
|-
 
|-
| OWASP-0705
+
| OCR-AUTH-07
| SQL Injection
+
| Disallow account passwords to match any of the last N passwords for that account, where N is a system configurable value. This is done to discourage password re-use.
 
|-
 
|-
| OWASP-0706
+
| OCR-AUTH-08
| LDAP Injection
+
| Passwords must be a system configurable minimum age (e.g., one day old) before they can be changed, to prevent attacks on password re-use
 
|-
 
|-
| OWASP-0707
+
| OCR-AUTH-09
| ORM Injection
+
| Password entry fields do not echo the user’s password when it is entered.
 
|-
 
|-
| OWASP-0708
+
| OCR-AUTH-10
| XML Injection
+
| Autocomplete is disabled for all password entry fields in HTML forms.
 
|-
 
|-
| OWASP-0709
+
| OCR-AUTH-11
| SSI Injection
+
| Passwords are transmitted over an encrypted connection. Temporary passwords associated with email resets may be an exception to this rule.
 
|-
 
|-
| OWASP-0710
+
| OCR-AUTH-12
| XPath Injection
+
| For authentication over HTTP, authentication credentials are transmitted only within the POST body and not in the URL.
 
|-
 
|-
| OWASP-0711
+
| OCR-AUTH-13
| IMAP/SMTP Injection
+
| Authentication controls and application functionality minimize the leakage of user account names.
 
|-
 
|-
| OWASP-0712
+
| OCR-AUTH-14
| Code Injection
+
| Stored server side passwords are protected using cryptographically strong one-way salted hashes that use salts that are unique per account. (e.g., Do not use the MD5 or SHA-1 algorithms).
 
|-
 
|-
| OWASP-0713
+
|OCR-AUTH-15
| OS Commanding
+
| Use large numbers of hash iterations or password based encryption to make it time consuming to calculate a single hashed password value.
 
|-
 
|-
| OWASP-0714
+
| OCR-AUTH-16
| Buffer overflow
+
| Stored passwords and cryptographic keys are readable and writeable only by the application.
 
|-
 
|-
| OWASP-0715
+
| OCR-AUTH-17
| Incubated vulnerability Testing
+
| Brute force protection is provided after a system configurable number of invalid login attempts occur against an account within a configurable period of time (e.g., account is locked, CAPTCHA required, throttling enabled).
 
|-
 
|-
| OWASP-0716
+
| OCR-AUTH-18
| Testing for HTTP Splitting/Smuggling
+
| Implement monitoring to identify attacks against multiple user accounts, utilizing the same password. This attack pattern is used to bypass standard lockouts, when valid user IDs can be harvested or inferred.
 
|-
 
|-
| OWASP-0717
+
| OCR-AUTH-19
| Unvalidated Redirects and Forwards
+
| The date/time of the last successful login is reported to the user after they login, along with the number of failed login attempts since the last successful login.
 
|-
 
|-
|'''OWASP-0800'''
+
| OCR-AUTH-20
|'''Denial of Service Testing'''
+
| Password changing mechanisms are at least as resistant to attack as the primary authentication mechanism.
|-
 
| OWASP-0801
 
| Testing for SQL Wildcard Attacks
 
|-
 
| OWASP-0802
 
| Locking User Accounts
 
|-
 
| OWASP-0803
 
| Testing for DoS Buffer Overflows
 
|-
 
| OWASP-0804
 
| User Specified Object Allocation
 
 
|-
 
|-
| OWASP-0805
+
| OCR-AUTH-21
| User Input as a Loop Counter
+
| Passwords are required to be changed before they become older than a system configurable maximum age.
 
|-
 
|-
| OWASP-0806
+
| OCR-AUTH-22
| Writing User Provided Data to Disk
+
| Password reset questions support sufficiently random answers. (e.g., "favorite color" is a bad question because red, blue, green, are very common answers. Favorite book is another bad question that generates insufficiently random answers.).
 
|-
 
|-
| OWASP-0807
+
| OCR-AUTH-23
| Failure to Release Resources
+
| For email based resets, only send email to a pre-registered address with a temporary link/password. Reset questions should be asked after the user goes to the temporary page, not before the email is generated.
 
|-
 
|-
| OWASP-0808
+
| OCR-AUTH-24
| Storing too Much Data in Session
+
| Temporary passwords and links have a short, system configurable, expiration time.
 
|-
 
|-
|'''OWASP-0900'''
+
| OCR-AUTH-25
|'''Web Services Testing'''
+
| Users are required to change temporary passwords as soon as they are used.
|-
 
| OWASP-0901
 
| WS Information Gathering
 
 
|-
 
|-
| OWASP-0902
+
| OCR-AUTH-26
| Testing WSDL
+
| Users are notified when a password reset occurs on their account.
 
|-
 
|-
| OWASP-0903
+
| OCR-AUTH-27
| XML Structural Testing
+
| Users must re-authenticate prior to performing security critical operations, such as change password, change email address, change mailing address, change mailing address, view very sensitive data, send funds, etc.
 
|-
 
|-
| OWASP-0904
+
| OCR-AUTH-28
| XML content-level Testing
+
| All administrative and account management functions are at least as secure as the primary authentication mechanism.
 
|-
 
|-
| OWASP-0905
+
| OCR-AUTH-29
| HTTP GET parameters/REST Testing
+
| Authentication is required for services exposed to external systems that provide sensitive information or functions.
 
|-
 
|-
| OWASP-0906
+
| OCR-AUTH-30
| Malicious SOAP attachments
+
| All authentication credentials for accessing services external to the application are encrypted and stored in a protected location (e.g., not in source code).
 
|-
 
|-
| OWASP-0907
+
| OCR-AUTH-31
| Replay Testing
+
| Multi-Factor Authentication is used for highly sensitive or high value systems or for specific high value transactions.
|-
 
| '''OWASP-1000'''
 
|'''AJAX Testing'''
 
|-
 
| OWASP-1001
 
| AJAX Vulnerabilities
 
|-
 
| OWASP-1002 
 
| AJAX Testing
 
 
|}
 
|}
  
== Mapping to Legacy Testing Guide IDs  ==
 
  
{| class="prettytable"
+
{{{#!comment        Lets comment all this other stuff out for now.
|-
+
 
 +
==== Mapping to Legacy Testing Guide IDs  ====
 +
 
 +
Note: This is still a work in progress and is currently incomplete.
 +
 
 +
{class="prettytable" <-- this needs a pipe character in front of class to work. I had to remove it because it was causing this line to be displayed even though this entire block is commented out.
 +
|
 
| <center>'''Ref. Number'''</center>  
 
| <center>'''Ref. Number'''</center>  
 
| <center>'''Test Name'''</center>  
 
| <center>'''Test Name'''</center>  
 
| <center>'''New Common Ref.'''</center>
 
| <center>'''New Common Ref.'''</center>
 
|-
 
|-
| colspan="3" align="center" | '''Information Gathering - OWASP-01'''
+
| align="center" colspan="3" | '''Information Gathering'''
 
|-
 
|-
 
| OWASP-IG-001  
 
| OWASP-IG-001  
| Spiders, Robots and Crawlers
+
| Spiders, Robots and Crawlers  
| OWASP-0101
+
| OWASP-'''&lt;put mapped ASVS&nbsp;4 digit # here&gt;'''-TG-IG-001
 
|-
 
|-
 
| OWASP-IG-002  
 
| OWASP-IG-002  
 
| Search Engine Discovery/Reconnaissance  
 
| Search Engine Discovery/Reconnaissance  
| OWASP-0102
+
|  
 
|-
 
|-
 
| OWASP-IG-003  
 
| OWASP-IG-003  
 
| Identify application entry points  
 
| Identify application entry points  
| OWASP-0103
+
|  
 
|-
 
|-
 
| OWASP-IG-004  
 
| OWASP-IG-004  
 
| Testing for Web Application Fingerprint  
 
| Testing for Web Application Fingerprint  
| OWASP-0104
+
|  
 
|-
 
|-
 
| OWASP-IG-005  
 
| OWASP-IG-005  
 
| Application Discovery  
 
| Application Discovery  
| OWASP-0105
+
|  
 
|-
 
|-
 
| OWASP-IG-006  
 
| OWASP-IG-006  
 
| Analysis of Error Codes  
 
| Analysis of Error Codes  
| OWASP-0106
+
|  
 
|-
 
|-
| colspan="3" align="center" | '''Configuration Management Testing - OWASP-02'''
+
| align="center" colspan="3" | '''Configuration Management Testing'''
 
|-
 
|-
 
| OWASP-CM-001  
 
| OWASP-CM-001  
 
| SSL/TLS Testing (SSL Version, Algorithms, Key length, Digital Cert. Validity)  
 
| SSL/TLS Testing (SSL Version, Algorithms, Key length, Digital Cert. Validity)  
| OWASP-0201
+
|  
 
|-
 
|-
 
| OWASP-CM-002  
 
| OWASP-CM-002  
 
| DB Listener Testing  
 
| DB Listener Testing  
| OWASP-0202
+
|  
 
|-
 
|-
 
| OWASP-CM-003  
 
| OWASP-CM-003  
 
| Infrastructure Configuration Management Testing  
 
| Infrastructure Configuration Management Testing  
| OWASP-0203
+
|  
 
|-
 
|-
 
| OWASP-CM-004  
 
| OWASP-CM-004  
 
| Application Configuration Management Testing  
 
| Application Configuration Management Testing  
| OWASP-0204
+
|  
 
|-
 
|-
 
| OWASP-CM-005  
 
| OWASP-CM-005  
 
| Testing for File Extensions Handling  
 
| Testing for File Extensions Handling  
| OWASP-0205
+
|  
 
|-
 
|-
 
| OWASP-CM-006  
 
| OWASP-CM-006  
 
| Old, backup and unreferenced files  
 
| Old, backup and unreferenced files  
| OWASP-0206
+
|  
 
|-
 
|-
 
| OWASP-CM-007  
 
| OWASP-CM-007  
 
| Infrastructure and Application Admin Interfaces  
 
| Infrastructure and Application Admin Interfaces  
| OWASP-0207
+
|  
 
|-
 
|-
 
| OWASP-CM-008  
 
| OWASP-CM-008  
 
| Testing for HTTP Methods and XST  
 
| Testing for HTTP Methods and XST  
| OWASP-0208
+
|  
 
|-
 
|-
| colspan="3" align="center" | '''Authentication Testing - OWASP-03'''  
+
| align="center" colspan="3" | '''Authentication Testing'''
 
|-
 
|-
 
| OWASP-AT-001  
 
| OWASP-AT-001  
 
| Credentials transport over an encrypted channel  
 
| Credentials transport over an encrypted channel  
| OWASP-0301
+
|  
 
|-
 
|-
 
| OWASP-AT-002  
 
| OWASP-AT-002  
 
| Testing for user enumeration  
 
| Testing for user enumeration  
| OWASP-0302
+
|  
 
|-
 
|-
 
| OWASP-AT-003  
 
| OWASP-AT-003  
 
| Testing for Guessable (Dictionary) User Account  
 
| Testing for Guessable (Dictionary) User Account  
| OWASP-0303
+
|  
 
|-
 
|-
 
| OWASP-AT-004  
 
| OWASP-AT-004  
 
| Brute Force Testing  
 
| Brute Force Testing  
| OWASP-0304
+
|  
 
|-
 
|-
 
| OWASP-AT-005  
 
| OWASP-AT-005  
 
| Testing for bypassing authentication schema  
 
| Testing for bypassing authentication schema  
| OWASP-0305
+
|  
 
|-
 
|-
 
| OWASP-AT-006  
 
| OWASP-AT-006  
 
| Testing for vulnerable remember password and pwd reset  
 
| Testing for vulnerable remember password and pwd reset  
| OWASP-0306
+
|  
 
|-
 
|-
 
| OWASP-AT-007  
 
| OWASP-AT-007  
 
| Testing for Logout and Browser Cache Management  
 
| Testing for Logout and Browser Cache Management  
| OWASP-0307
+
|  
 
|-
 
|-
 
| OWASP-AT-008  
 
| OWASP-AT-008  
 
| Testing for CAPTCHA  
 
| Testing for CAPTCHA  
| OWASP-0308
+
|  
 
|-
 
|-
 
| OWASP-AT-009  
 
| OWASP-AT-009  
 
| Testing Multiple Factors Authentication  
 
| Testing Multiple Factors Authentication  
| OWASP-0309
+
|  
 
|-
 
|-
 
| OWASP-AT-010  
 
| OWASP-AT-010  
 
| Testing for Race Conditions  
 
| Testing for Race Conditions  
| OWASP-0310
+
|  
 
|-
 
|-
| colspan="3" align="center" | '''Session Management - OWASP-04'''  
+
| align="center" colspan="3" | '''Session Management'''
 
|-
 
|-
 
| OWASP-SM-001  
 
| OWASP-SM-001  
 
| Testing for Session Management Schema  
 
| Testing for Session Management Schema  
| OWASP-0401
+
|  
 
|-
 
|-
 
| OWASP-SM-002  
 
| OWASP-SM-002  
 
| Testing for Cookies attributes  
 
| Testing for Cookies attributes  
| OWASP-0402
+
|  
 
|-
 
|-
 
| OWASP-SM-003  
 
| OWASP-SM-003  
 
| Testing for Session Fixation  
 
| Testing for Session Fixation  
| OWASP-0403
+
|  
 
|-
 
|-
 
| OWASP-SM-004  
 
| OWASP-SM-004  
 
| Testing for Exposed Session Variables  
 
| Testing for Exposed Session Variables  
| OWASP-0404
+
|  
 
|-
 
|-
 
| OWASP-SM-005  
 
| OWASP-SM-005  
 
| Testing for CSRF  
 
| Testing for CSRF  
| OWASP-0405
+
|  
 +
|-
 +
| align="center" colspan="3" | '''Authorization Testing'''
 
|-
 
|-
| colspan="3" align="center" | '''Authorization Testing - OWASP-05'''
 
|-
 
 
| OWASP-AZ-001  
 
| OWASP-AZ-001  
 
| Testing for Path Traversal  
 
| Testing for Path Traversal  
| OWASP-0501
+
|  
 
|-
 
|-
 
| OWASP-AZ-002  
 
| OWASP-AZ-002  
 
| Testing for bypassing authorization schema  
 
| Testing for bypassing authorization schema  
| OWASP-0502
+
|  
 
|-
 
|-
 
| OWASP-AZ-003  
 
| OWASP-AZ-003  
 
| Testing for Privilege Escalation  
 
| Testing for Privilege Escalation  
| OWASP-0503
+
|  
 +
|-
 +
| align="center" colspan="3" | '''Business logic testing'''
 
|-
 
|-
| colspan="3" align="center" | '''Business logic testing - OWASP-06'''
 
|-
 
 
| OWASP-BL-001  
 
| OWASP-BL-001  
 
| Testing for business logic  
 
| Testing for business logic  
| OWASP-0601
+
|  
 +
|-
 +
| align="center" colspan="3" | '''Data Validation Testing'''
 
|-
 
|-
| colspan="3" align="center" | '''Data Validation Testing - OWASP-07'''
 
|-
 
 
| OWASP-DV-001  
 
| OWASP-DV-001  
 
| Testing for Reflected Cross Site Scripting  
 
| Testing for Reflected Cross Site Scripting  
| OWASP-0701
+
|  
 
|-
 
|-
 
| OWASP-DV-002  
 
| OWASP-DV-002  
 
| Testing for Stored Cross Site Scripting  
 
| Testing for Stored Cross Site Scripting  
| OWASP-0702
+
|  
 
|-
 
|-
 
| OWASP-DV-003  
 
| OWASP-DV-003  
 
| Testing for DOM based Cross Site Scripting  
 
| Testing for DOM based Cross Site Scripting  
| OWASP-0703
+
|  
 
|-
 
|-
 
| OWASP-DV-004  
 
| OWASP-DV-004  
 
| Testing for Cross Site Flashing  
 
| Testing for Cross Site Flashing  
| OWASP-0704
+
|  
 
|-
 
|-
 
| OWASP-DV-005  
 
| OWASP-DV-005  
 
| SQL Injection  
 
| SQL Injection  
| OWASP-0705
+
|  
 
|-
 
|-
 
| OWASP-DV-006  
 
| OWASP-DV-006  
 
| LDAP Injection  
 
| LDAP Injection  
| OWASP-0706
+
|  
 
|-
 
|-
 
| OWASP-DV-007  
 
| OWASP-DV-007  
 
| ORM Injection  
 
| ORM Injection  
| OWASP-0707
+
|  
 
|-
 
|-
 
| OWASP-DV-008  
 
| OWASP-DV-008  
 
| XML Injection  
 
| XML Injection  
| OWASP-0708
+
|  
 
|-
 
|-
 
| OWASP-DV-009  
 
| OWASP-DV-009  
 
| SSI Injection  
 
| SSI Injection  
| OWASP-0709
+
|  
 
|-
 
|-
 
| OWASP-DV-010  
 
| OWASP-DV-010  
 
| XPath Injection  
 
| XPath Injection  
| OWASP-0710
+
|  
 
|-
 
|-
 
| OWASP-DV-011  
 
| OWASP-DV-011  
 
| IMAP/SMTP Injection  
 
| IMAP/SMTP Injection  
| OWASP-0711
+
|  
 
|-
 
|-
 
| OWASP-DV-012  
 
| OWASP-DV-012  
 
| Code Injection  
 
| Code Injection  
| OWASP-0712
+
|  
 
|-
 
|-
 
| OWASP-DV-013  
 
| OWASP-DV-013  
 
| OS Commanding  
 
| OS Commanding  
| OWASP-0713
+
|  
 
|-
 
|-
 
| OWASP-DV-014  
 
| OWASP-DV-014  
 
| Buffer overflow  
 
| Buffer overflow  
| OWASP-0714
+
|  
 
|-
 
|-
 
| OWASP-DV-015  
 
| OWASP-DV-015  
 
| Incubated vulnerability Testing  
 
| Incubated vulnerability Testing  
| OWASP-0715
+
|  
 
|-
 
|-
 
| OWASP-DV-016  
 
| OWASP-DV-016  
 
| Testing for HTTP Splitting/Smuggling  
 
| Testing for HTTP Splitting/Smuggling  
| OWASP-0716
+
|  
 +
|-
 +
| align="center" colspan="3" | '''Denial of Service Testing'''
 
|-
 
|-
| colspan="3" align="center" | '''Denial of Service Testing - OWASP-08'''
 
|-
 
 
| OWASP-DS-001  
 
| OWASP-DS-001  
 
| Testing for SQL Wildcard Attacks  
 
| Testing for SQL Wildcard Attacks  
| OWASP-0801
+
|  
 
|-
 
|-
 
| OWASP-DS-002  
 
| OWASP-DS-002  
 
| Locking Customer Accounts  
 
| Locking Customer Accounts  
| OWASP-0802
+
|  
 
|-
 
|-
 
| OWASP-DS-003  
 
| OWASP-DS-003  
 
| Testing for DoS Buffer Overflows  
 
| Testing for DoS Buffer Overflows  
| OWASP-0803
+
|  
 
|-
 
|-
 
| OWASP-DS-004  
 
| OWASP-DS-004  
 
| User Specified Object Allocation  
 
| User Specified Object Allocation  
| OWASP-0804
+
|  
 
|-
 
|-
 
| OWASP-DS-005  
 
| OWASP-DS-005  
 
| User Input as a Loop Counter  
 
| User Input as a Loop Counter  
| OWASP-0805
+
|  
 
|-
 
|-
 
| OWASP-DS-006  
 
| OWASP-DS-006  
 
| Writing User Provided Data to Disk  
 
| Writing User Provided Data to Disk  
| OWASP-0806
+
|  
 
|-
 
|-
 
| OWASP-DS-007  
 
| OWASP-DS-007  
 
| Failure to Release Resources  
 
| Failure to Release Resources  
| OWASP-0807
+
|  
 
|-
 
|-
 
| OWASP-DS-008  
 
| OWASP-DS-008  
 
| Storing too Much Data in Session  
 
| Storing too Much Data in Session  
| OWASP-0808
+
|  
 +
|-
 +
| align="center" colspan="3" | '''Web Services Testing'''
 
|-
 
|-
| colspan="3" align="center" | '''Web Services Testing - OWASP-09'''
 
|-
 
 
| OWASP-WS-001  
 
| OWASP-WS-001  
 
| WS Information Gathering  
 
| WS Information Gathering  
| OWASP-0901
+
|  
 
|-
 
|-
 
| OWASP-WS-002  
 
| OWASP-WS-002  
 
| Testing WSDL  
 
| Testing WSDL  
| OWASP-0902
+
|  
 
|-
 
|-
 
| OWASP-WS-003  
 
| OWASP-WS-003  
 
| XML Structural Testing  
 
| XML Structural Testing  
| OWASP-0903
+
|  
 
|-
 
|-
 
| OWASP-WS-004  
 
| OWASP-WS-004  
 
| XML content-level Testing  
 
| XML content-level Testing  
| OWASP-0904
+
|  
 
|-
 
|-
 
| OWASP-WS-005  
 
| OWASP-WS-005  
 
| HTTP GET parameters/REST Testing  
 
| HTTP GET parameters/REST Testing  
| OWASP-0905
+
|  
 
|-
 
|-
 
| OWASP-WS-006  
 
| OWASP-WS-006  
 
| Naughty SOAP attachments  
 
| Naughty SOAP attachments  
| OWASP-0906
+
|  
 
|-
 
|-
 
| OWASP-WS-007  
 
| OWASP-WS-007  
 
| Replay Testing  
 
| Replay Testing  
| OWASP-0907
+
|  
 +
|-
 +
| align="center" colspan="3" | '''AJAX Testing'''
 
|-
 
|-
| colspan="3" align="center" | '''AJAX Testing - OWASP-10'''
 
|-
 
 
| OWASP-AJ-001  
 
| OWASP-AJ-001  
 
| AJAX Vulnerabilities  
 
| AJAX Vulnerabilities  
| OWASP-1001
+
|  
 
|-
 
|-
 
| OWASP-AJ-002  
 
| OWASP-AJ-002  
 
| AJAX Testing  
 
| AJAX Testing  
| OWASP-1002
+
|  
 
|}
 
|}
== Mapping to Top 10 2010 IDs  ==
 
  
{| class="prettytable"
+
==== Mapping to Top 10 2010 IDs  ====
 +
 
 +
Note: This is still a work in progress and is currently incomplete.
 +
 
 +
{| class="pretty3table"
 
|-
 
|-
 
| <center>'''Ref. Number'''</center>  
 
| <center>'''Ref. Number'''</center>  
 
| <center>'''Name'''</center>  
 
| <center>'''Name'''</center>  
| <center>'''New Common Ref.'''</center>  
+
| <center>'''New Common Ref.'''</center>
 
|-
 
|-
| A1  
+
| [[Top_10_2010-A1 | 2010-A1]]
 
| Injection  
 
| Injection  
| OWASP-0705
+
|  
OWASP-0706
 
  
OWASP-0707
+
OWASP-0705
  
OWASP-0708
+
OWASP-0706
  
OWASP-0709
+
OWASP-0707
  
OWASP-0710
+
OWASP-0708
  
OWASP-0711
+
OWASP-0709
 +
 
 +
OWASP-0710
 +
 
 +
OWASP-0711  
 +
 
 +
OWASP-0712
  
OWASP-0712
 
 
|-
 
|-
| A2  
+
| [[Top_10_2010-A2 | 2010-A2]]
| Cross Site Scripting  
+
| Cross Site Scripting (XSS)
 
| OWASP-0701  
 
| OWASP-0701  
OWASP-0702
+
OWASP-0702  
  
OWASP-0703
+
OWASP-0703  
  
 
OWASP-0704  
 
OWASP-0704  
  
 
|-
 
|-
| A3  
+
| [[Top_10_2010-A3 | 2010-A3]]
| Broken Authentication and Session Management
+
| Broken Authentication and Session Management  
| OWASP-03
+
| OWASP-0300
 
+
OWASP-0400
OWASP-04
 
 
|-
 
|-
| A4  
+
| [[Top_10_2010-A4 | 2010-A4]]
 
| Insecure Direct Object References  
 
| Insecure Direct Object References  
 
| OWASP-0502
 
| OWASP-0502
 
|-
 
|-
| A5  
+
| [[Top_10_2010-A5 | 2010-A5]]
| Cross Site Request Forgery
+
| Cross Site Request Forgery  
 
| OWASP-0405
 
| OWASP-0405
 
|-
 
|-
| A6
+
| [[Top_10_2010-A6 | 2010-A6]]
| Security Misconfiguration
+
| Security Misconfiguration  
| OWASP-0203
+
| OWASP-0203  
 
+
OWASP-0204  
OWASP-0204
 
 
|-
 
|-
| A7
+
| [[Top_10_2010-A7 | 2010-A7]]
| Failure to Restrict URL Access
+
| Failure to Restrict URL Access  
| OWASP-05
+
| OWASP-0500
 
|-
 
|-
| A8
+
| [[Top_10_2010-A8 | 2010-A8]]
| Unvalidated Redirects and Forwards
+
| Unvalidated Redirects and Forwards  
 
| OWASP-0717
 
| OWASP-0717
 
|-
 
|-
| A9
+
| [[Top_10_2010-A9 | 2010-A9]]
| Insecure Cryptographic Storage
+
| Insecure Cryptographic Storage  
 
| OWASP-0209
 
| OWASP-0209
 
|-
 
|-
| A10
+
| [[Top_10_2010-A10 | 2010-A10]]
| Insufficient Transport Layer Protection
+
| Insufficient Transport Layer Protection  
 
| OWASP-0201
 
| OWASP-0201
 
|}
 
|}
  
== References  ==
+
End commented out section. }}}
 
 
*adding the (release) year into the numbering scheme can be problematic, because the document has a life cycle that goes over years ....
 
*One should rather try to accommodate a versioning scheme that is human readable in the reference number as well (e.g. V02, or RevA, or...)
 
 
 
----
 
 
 
*don't try to encode any information into the ID that is likely to change or be subject to debate. In the olden days of CVE, we used to have "CAN-1999-0067" which would change into "CVE-1999-0067" once the item was considered stable and sufficiently verified. That made the ID hard to use. Right now, OWASP-DV-001 encodes the term "data validation" in the DV acronym, but what happens if in a couple of years, some new and better term occurs, or the focus changes from validation to something else? (As an example, it's only recently that the "data validation" term itself has become popular.)
 
 
 
*carefully consider the range of values that your ID space supports, and if possible, allow it to expand. CVE has a "CVE-10K" problem because we never expected that we would ever come close to tracking 10,000 vulnerabilities a year. Red Hat had to change their advisory numbering scheme a couple years ago. etc.
 
 
 
*don't change the fundamental meaning of the ID once you've assigned it. This causes confusion, and more importantly, it immediately invalidates almost everyone's mappings to that ID - including people who you don't even know are using that ID.
 
 
 
*closely monitor the mappings that get made. Typos and misunderstandings are rarely caught. People may make assumptions about what "the item" really is, based only on a quick scan of a short name or title. Since you're dealing with diverse sources, there are likely to be many-to-many relationships in dealing with mappings.
 
 
 
*determine some kind of procedure for handling duplicates. They're gonna happen.
 
 
 
*the more you distribute the process of creating and assigning IDs between multiple people, the more inconsistencies and duplicates you will wind up with. This may be unavoidable, since the job is usually bigger than one person.
 
  
*determine some kind of procedure for deprecating IDs, i.e., "retiring" them and discouraging their use by others. This will probably happen for reasons other than duplicates. There should be some final record, somewhere, of what happened to the deprecated item - i.e., it shouldn't just disappear off the face of the earth.
+
==== Project About ====
 +
{{:Projects/OWASP Common Numbering Project | Project About}}
  
----
+
__NOTOC__ <headertabs />
  
Much of the discussion surrounding the establishment of "Common OWASP Numbering" can be found on the various [https://lists.owasp.org/mailman/listinfo OWASP mailing lists]. (For your convenience here is a direct link to the [https://lists.owasp.org/pipermail/owasp-testing/ OWASP Testing Guide Mailing List Archive].)
 
  
 +
[[Category:OWASP_Document]]
 +
[[Category:OWASP_Alpha_Quality_Document]]
 +
[[Category:OWASP_Project|Common Numbering Project ]]
 
[[Category:OWASP_Application_Security_Verification_Standard_Project]] [[Category:How_To]]
 
[[Category:OWASP_Application_Security_Verification_Standard_Project]] [[Category:How_To]]

Latest revision as of 16:02, 17 April 2014



OWASP Inactive Banner.jpg

Home

Common OWASP Numbering

An exciting development, a new numbering scheme that will be common across various OWASP Guides and References is being developed. This numbering scheme is loosely based on the OWASP ASVS section and detailed requirements numbering. The OWASP ASVS, Guide, and Reference project leads and contributors plan to work together to develop a numbering scheme that facilitates easier mapping between various OWASP Guides and References, and that would allow for a period of transition as the Guides and References are updated to reflect the new numbering scheme. This project will provide a centralized clearinghouse for mapping information. For more information on this project, or if you wish to contribute, please contact Dave Wichers.

This common numbering scheme will be of requirements. A mapping of vulnerabilities to this requirements list will most likely be developed after the common requirements list is created. This common numbering scheme is intended to be independent of any particular OWASP project and is not intended to dictate how those projects are developed and organized. Its intent is to be a resource to facilitate cross referencing between related topics and to encourage, but not require, projects like the OWASP Guides to adopt a similar structure. But that decision is up to the respective project leads.

OWASP Common Requirements Numbering Scheme DRAFT

Proposed OWASP Common Requirements Numbering Scheme Format:
OCR-AUTHN-01
OCR-AUTHN-02
OCR-AUTHN-02.01
OCR-AUTHN-03
OCR-INPVAL-01
OCR-INPVAL-02 

Common Requirements Numbering Scheme Proposed Requirement Areas:

  • OCR-AUTHN: Authentication
  • OCR-SESS: Session Management
  • OCR-INPVAL: Input Validation
  • OCR-OUTENC: Output Encoding
  • OCR-AUTHZ: Functional and Data Layer Access Control
  • OCR-BUS: Business Logic
  • OCR-DATAP: Sensitive Data Protection
  • OCR-CRYPST: Cryptographic Storage
  • OCR-COMMS: Communication Security
  • OCR-ERROR: Error Handling
  • OCR-LOG: Logging
  • OCR-DBASE: Secure Database Usage
  • OCR-FILE: Secure File Access
  • OCR-MEM: Memory Management
  • OCR-GEN: General Coding Practices
  • OCR-CONFIG: Secure System Configuration
  • OCR-INTEG: Integrity
  • OCR-AVAIL: Availability
Reference
  • 1st Element - Document code (OCR=OWASP Common Requirements Number, ODG=OWASP Development Guide, OTG=OWASP Testing Guide, OCG=OWASP Code Review Guide, others reserved)
  • 2nd Element - Requirement Area (major)
  • 3rd Element - Detailed Requirement Identifier (minor with up to one sublevel (e.g., .01, .02)
  • 4th Element (Optional: DEPRECATED, or # for iterations, or legacy identifiers)

OWASP Common Requirements - DRAFT

The following is the first section we have developed of common requirements. It is the section on Authentication (OCR-AUTHN). This is draft, and your feedback is very welcome. Please provide any feedback to Dave Wichers.

OWASP Common Number
Common Requirement
Authentication Requirements
OCR-AUTH-01 All authentication controls operate on a trusted system (e.g., The server).
OCR-AUTH-02 Authentication is required for all pages and resources, except those specifically intended to be public.
OCR-AUTH-03 The application utilizes standardized, tested, and centralized authentication services.
OCR-AUTH-04 Authentication services utilize a centralized authentication store.
OCR-AUTH-05 All authentication controls fail securely.
OCR-AUTH-06 System configurable password strength requirements are enforced. This includes both minimum length and minimum complexity rules.
OCR-AUTH-07 Disallow account passwords to match any of the last N passwords for that account, where N is a system configurable value. This is done to discourage password re-use.
OCR-AUTH-08 Passwords must be a system configurable minimum age (e.g., one day old) before they can be changed, to prevent attacks on password re-use
OCR-AUTH-09 Password entry fields do not echo the user’s password when it is entered.
OCR-AUTH-10 Autocomplete is disabled for all password entry fields in HTML forms.
OCR-AUTH-11 Passwords are transmitted over an encrypted connection. Temporary passwords associated with email resets may be an exception to this rule.
OCR-AUTH-12 For authentication over HTTP, authentication credentials are transmitted only within the POST body and not in the URL.
OCR-AUTH-13 Authentication controls and application functionality minimize the leakage of user account names.
OCR-AUTH-14 Stored server side passwords are protected using cryptographically strong one-way salted hashes that use salts that are unique per account. (e.g., Do not use the MD5 or SHA-1 algorithms).
OCR-AUTH-15 Use large numbers of hash iterations or password based encryption to make it time consuming to calculate a single hashed password value.
OCR-AUTH-16 Stored passwords and cryptographic keys are readable and writeable only by the application.
OCR-AUTH-17 Brute force protection is provided after a system configurable number of invalid login attempts occur against an account within a configurable period of time (e.g., account is locked, CAPTCHA required, throttling enabled).
OCR-AUTH-18 Implement monitoring to identify attacks against multiple user accounts, utilizing the same password. This attack pattern is used to bypass standard lockouts, when valid user IDs can be harvested or inferred.
OCR-AUTH-19 The date/time of the last successful login is reported to the user after they login, along with the number of failed login attempts since the last successful login.
OCR-AUTH-20 Password changing mechanisms are at least as resistant to attack as the primary authentication mechanism.
OCR-AUTH-21 Passwords are required to be changed before they become older than a system configurable maximum age.
OCR-AUTH-22 Password reset questions support sufficiently random answers. (e.g., "favorite color" is a bad question because red, blue, green, are very common answers. Favorite book is another bad question that generates insufficiently random answers.).
OCR-AUTH-23 For email based resets, only send email to a pre-registered address with a temporary link/password. Reset questions should be asked after the user goes to the temporary page, not before the email is generated.
OCR-AUTH-24 Temporary passwords and links have a short, system configurable, expiration time.
OCR-AUTH-25 Users are required to change temporary passwords as soon as they are used.
OCR-AUTH-26 Users are notified when a password reset occurs on their account.
OCR-AUTH-27 Users must re-authenticate prior to performing security critical operations, such as change password, change email address, change mailing address, change mailing address, view very sensitive data, send funds, etc.
OCR-AUTH-28 All administrative and account management functions are at least as secure as the primary authentication mechanism.
OCR-AUTH-29 Authentication is required for services exposed to external systems that provide sensitive information or functions.
OCR-AUTH-30 All authentication credentials for accessing services external to the application are encrypted and stored in a protected location (e.g., not in source code).
OCR-AUTH-31 Multi-Factor Authentication is used for highly sensitive or high value systems or for specific high value transactions.



Project About

PROJECT INFO
What does this OWASP project offer you?
RELEASE(S) INFO
What releases are available for this project?
what is this project?
Name: OWASP Common Numbering Project (home page)
Purpose: An exciting development, a new numbering scheme that will be common across OWASP Guides and References is being developed. The numbering is loosely based on the OWASP ASVS section and detailed requirement numbering. OWASP ASVS, Guide, and Reference project leads and contributors as well as the OWASP leadership plan to work together to develop numbering that would allow for easy mapping between OWASP Guides and References, and that would allow for a period of transition as Guides and References are updated to reflect the new numbering. This project will provide a centralized clearinghouse for mapping information.
License: Creative Commons Attribution ShareAlike 3.0 license
who is working on this project?
Project Leader(s):
Project Contributor(s):
how can you learn more?
Project Pamphlet: Not Yet Created
Project Presentation:
Mailing list: Mailing List Archives
Project Roadmap: View
Key Contacts
current release
Not Yet Published
last reviewed release
Not Yet Reviewed


other releases