SiteShadow
Back to vulnerability library

A01 Broken Access Control

What this means

SiteShadow flagged a place where a user can reach data or actions they shouldn't be allowed to access (for example: another user's record, an admin-only endpoint, or a privileged operation).

Why it matters

Safer examples

1) Check authorization on every object access (ownership / policy)

invoice = get_invoice(invoice_id)
if invoice.user_id != current_user.id:
    raise PermissionError("Forbidden")
return invoice

2) Prefer "deny by default" route guards

app.get("/admin/audit", requireAuth, requireRole("admin"), async (req, res) => {
  res.json(await getAuditLog());
});

3) Test for "can't access others' data"

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Request access View coverage