베타 Shoulder는 베타 버전입니다 — 결과가 가끔 잘못될 수 있습니다. 여러분의 피드백이 다음에 무엇을 고칠지 결정합니다. 피드백 공유
#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.

개요

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.

공격자가 이것을 악용하는 방법

공격 패턴을 이해하면 더 나은 방어를 구축하는 데 도움이 됩니다. 이것들은 보안 팀이 주시하는 기술입니다.

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.

탐지 신호: 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.

탐지 신호: 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.

탐지 신호: Role parameters being modified in requests, or admin endpoints accessed by non-admin sessions

예방 방법

  • 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

Shoulder 탐지가 있는 CWE (12)

이 CWE들은 Shoulder 탐지 규칙이 있습니다. 클릭하여 특정 취약점과 수정 사항을 확인하세요.

기타 매핑된 CWE (22)

이 CWE들은 이 카테고리에 매핑되어 있지만 아직 Shoulder 규칙이 없습니다.