Back to overview

Authorization 6

Even though a user may be permitted access to a particular page, the contents of that page should also verify access control privileges. For example, a user should be able to edit their own profile text, but not that for another user. Implement least privilege, and restrict users to only the data and system information that are required to perform their tasks.

NB: the key concept for this card is applying authorization controls at the data level. See AZ 5 for resource types controls, and AZ 7 for function/object/property controls.

How to play?

Eduardo can access data he does not have permission to, even though he has permission to the form/page/URL/entry point

Mappings

Owasp ASVS (4.0): 4.1.3 ,4.2.1

Capec: 122

Owasp SCP: 81,88,131

Owasp Appsensor: ACE1-4

Safecode: 8,10,11

ASVS (4.0) Cheatsheetseries Index

ASVS V4.1 - General Access Control Design

ASVS V4.2 - Operation Level Access Control

Attacks

SQL Injection

Cross-Site Scripting (XSS)

Password Guessing/Brute Force Attacks

Weak Authentication Protocols

Session Hijacking (Man-in-the-Middle)

Loading comments 0%

Github logo View source on GitHub

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.