Error Handling

V7.4.1

Verify that a generic message is shown when an unexpected or security sensitive error occurs, potentially with a unique ID which support personnel can use to investigate. (C10)

Level 1 required: True

Level 2 required: True

Level 3 required: True

CWE: 210

V7.4.2

Verify that exception handling (or a functional equivalent) is used across the codebase to account for expected and unexpected error conditions. (C10)

Level 1 required: False

Level 2 required: True

Level 3 required: True

CWE: 544

V7.4.3

Verify that a "last resort" error handler is defined which will catch all unhandled exceptions. (C10)

Level 1 required: False

Level 2 required: True

Level 3 required: True

CWE: 431

Disclaimer:

Credit via OWASP ASVS. For more information visit The OWASP ASVS Project or Github respository.. OWASP ASVS is under the Creative Commons Attribution-Share Alike v3.0 license.

Github logo View source on GitHub

Loading comments 0%

Provided by dotNET lab

This website is created, hosted and provided by dotNET lab. dotNET lab provides training and guidance on secure software development. Contact us to get in touch!

OWASP Cornucopia

OWASP Cornucopia is originally created by Colin Watson. It is open source and can be downloaded free of charge from the OWASP website. It is is free to use. It 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 license to this one. OWASP does not endorse or recommend commercial products or services. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 3.0 license and is © 2012-2016 OWASP Foundation.