Test session cookies for authorization gaps
When testing an application's API, try isolating the authentication context by testing session cookies and authentication headers independently. This can help identify authorization inconsistencies associated with the application's session-based authentication path. Look for differences in responses between valid and invalid authentication combinations, and check for unauthorized information disclosure. Use tools like a test matrix to document inconsistent behavior across authentication contexts. By doing so, you can uncover authorization gaps that may allow unauthorized access to sensitive information. Example test: Send a request with a valid session cookie but without the required HMAC-based authentication headers
Follow #api-security, #authorization or #information-disclosure for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.