ベータ 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ルールがありません。