logo

How to Catch the Top OWASP 2021 Security Category - Broken Access Control - in Code Review

ID: 491c5719-a252-557d-a782-f41e2d9c4e80

STIX ID: report--491c5719-a252-557d-a782-f41e2d9c4e80

Feed Name: HackerOne Blog

Date Published: 2022-01-03

Date Updated: 2026-06-12

...
...

This article provides practical guidance for catching Broken Access Control issues during code review, illustrating common patterns such as missing or inconsistent checks, parameter tampering, insecure scoping between endpoints, and session/token handling problems using Rails examples (e.g., `index`, `show`, `DELETE`). It advises reviewers to check for least-privilege violations, ensure consistency across endpoints, validate parameters instead of trusting client-supplied values, and pay special attention to edit/update/delete actions and session management.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.