BETA O Shoulder está em beta — Os resultados às vezes podem estar incorretos. Seu feedback molda o que corrigimos a seguir. Compartilhar feedback
#1 A01:2021

Broken Access Control

Access control enforces policy such that users cannot act outside of their intended permissions. Failures typically lead to unauthorized information disclosure, modification, or destruction of data.

Visão Geral

Moving up from #5, 94% of applications were tested for some form of broken access control. The 34 CWEs mapped to Broken Access Control had more occurrences in applications than any other category.

Como Atacantes Exploram Isso

Entender padrões de ataque ajuda você a construir melhores defesas. Estas são as técnicas que equipes de segurança monitoram.

Parameter tampering

An attacker modifies URL parameters or hidden form fields to access unauthorized resources. For example, changing an account number in a URL to view another user's data.

Sinal de detecção: Requests with sequential IDs being tested, or parameters being modified in unexpected ways

Forced browsing

An attacker accesses pages that should require authentication by directly entering the URL, bypassing the intended navigation flow.

Sinal de detecção: Direct requests to admin or privileged URLs without proper session tokens

Privilege escalation

A standard user gains access to admin functionality by manipulating their role or permissions data.

Sinal de detecção: Role parameters being modified in requests, or admin endpoints accessed by non-admin sessions

Como Prevenir

  • Except for public resources, deny by default
  • Implement access control mechanisms once and reuse throughout the application
  • Model access controls should enforce record ownership
  • Disable web server directory listing and ensure metadata files are not present
  • Log access control failures and alert admins when appropriate
  • Rate limit API and controller access to minimize automated attack tooling
  • Invalidate stateful session identifiers on logout

CWEs com Detecção Shoulder (12)

Estes CWEs têm regras de detecção Shoulder. Clique para ver vulnerabilidades específicas e correções.

Outros CWEs Mapeados (22)

Estes CWEs estão mapeados para esta categoria mas ainda não têm regras Shoulder.