Where Functional Tests Pass: Object Authorization & Session Gaps
Recurring Web, API, and Android offensive findings from 12 black-box and grey-box engagements.
Across 12 offensive security assessments since June 2025 covering more than 25 web assets, 47 IPs, and 3 Android applications under OWASP WSTG methodology, the highest-impact defects consistently survived passing QA suites and TLS audits.
1. Object & Function Authorization (IDOR / BOLA / BFLA)
Section titled “1. Object & Function Authorization (IDOR / BOLA / BFLA)”Functional tests verify that an authenticated user can open their own invoice or profile. They rarely test whether User A can request User B’s record ID or call an administrative action hidden from the frontend.
GET /api/v1/invoices?id=1042 HTTP/1.1Authorization: Bearer <token_user_A>-> 200 OK (legitimate owner)
GET /api/v1/invoices?id=1043 HTTP/1.1Authorization: Bearer <token_user_A>-> Must return 403 Forbidden (server-side ownership check)2. Session Invalidation After Logout
Section titled “2. Session Invalidation After Logout”Client-side logout often clears local storage or cookies in the browser while leaving the server-side session or JWT accepted until expiration. Manual token replay catches this immediately.
3. Mobile-to-API Trust Boundaries (Android)
Section titled “3. Mobile-to-API Trust Boundaries (Android)”Static and dynamic analysis of Android builds (using JADX, APKTool, MobSF, ADB, and Frida/Objection in controlled labs) repeatedly exposes hardcoded service keys in compiled resources and business rules enforced only on the client device.
Practical Takeaway
Section titled “Practical Takeaway”Automated DAST/SAST sweeps establish a baseline, but actor x operation x object authorization matrices and post-logout token replay require manual offensive validation.