CORNUCOPIA (C6)

Aaron can bypass controls because error/exception handling is missing, or is implemented inconsistently or partially, or does not deny access by default (i.e. errors should terminate access/execution), or relies on handling by some other service or system

CORNUCOPIA
6

Aaron can bypass controls because error/exception handling is missing, or is implemented inconsistently or partially, or does not deny access by default (i.e. errors should terminate access/execution), or relies on handling by some other service or system

OWASP SCP

109,110,111,112,155

OWASP ASVS

4.1.5,7.1.4

OWASP AppSensor

CAPEC

-

SAFECODE

4,11,23

How to play?

Ensure all forms of error are handled robustly and consistently (e.g. web server, application server, database server, JavaScript, other interpreters). This encompasses:

Implement generic error messages and use custom error pages. The application should handle application errors and not rely on the server configuration. Properly free allocated memory when error conditions occur. Error handling logic associated with security controls should deny access by default. When exceptions occur, fail securely.

Mappings

OWASP ASVS (4.0): 4.1.5 ,7.1.4

Capec: 54 ,98 ,164

OWASP SCP: 109,110,111,112,155

OWASP Appsensor:

Safecode: 4,11,23

ASVS (4.0) Cheatsheetseries Index

ASVS V4.1 - General Access Control Design

ASVS V7.1 - Log Content Requirements

No suitable mappings were found.

Attacks

Command Injection

Password Guessing/Brute Force Attacks

Error message exploitation

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.