Web Security
Broken Access Control in a Multi-User Document Portal
Representative Case Study - Document identifiers can be modified in request paths, and the backend validates authentication but fails to consistently verify document ownership.
CyberSecOrg1 min read
- #Access Control
- #IDOR
- #Representative Case Study
- #Web Security
Overview
A document-management application allows authenticated users to upload, view, and share documents. During an access-control assessment, direct object references and inconsistent authorization checks are identified in document retrieval endpoints.
Technical Findings
- Document identifiers can be modified in request paths.
- The backend validates authentication but fails to consistently verify document ownership.
- Documents belonging to other users may be accessible through direct requests.
- The issue affects confidentiality across user accounts.
Impact
Unauthorized access to private documents, potential exposure of sensitive business information, and cross-account data leakage.
Remediation
- Enforce server-side authorization for every document operation.
- Verify ownership or explicit sharing permissions.
- Apply centralized access-control middleware.
- Add automated cross-user authorization tests.