Test hidden features for BAC
POST /api/organization/ai/settings HTTP/1.1Host: target.comContent-Type: application/jsonTips
Authorization bugs let a user perform actions their role should not allow, such as a viewer changing settings or a normal user reaching admin functions. The interface hides the button, but the server still accepts the request.
Published tips, newest first. Payloads and commands are shown as plain text.
POST /api/organization/ai/settings HTTP/1.1Host: target.comContent-Type: application/jsonTry registering on a dealer portal as if you were an owner, then check if the login token is accepted by dealer APIs. If it is, look for endpoints that allow you to reassign vehicle ownership or access owner data. Test if you can use these endpoints without being checked as a re…
When testing API endpoints, look for routes that lack authentication middleware. Try sending requests to these endpoints with a valid authentication token, but without the required admin or role-based access control. If the request is successful, it may indicate a vulnerability.…
Try modifying the assignedRoleNames field in a request to a higher privilege role, such as Admin, to see if the server accepts the change. Send a POST request to the /api/user/profile endpoint with the modified assignedRoleNames field, like this: POST /api/user/profile HTTP/1.1…
When testing Azure roles with Attribute Based Access Control (ABAC) conditions, look for conditions that constrain delegation of privileged permissions. Check if the condition only matches on specific actions, such as Microsoft.Authorization/roleAssignments/write, and if it uses…
When testing API endpoints, compare the quota enforcement of similar endpoints, such as single-send and batch-send endpoints. Send a large number of requests to the batch endpoint after the daily quota has been reached on the single-send endpoint to see if it continues to accept…
Test if a web application relies on client-side authorization control by manipulating the permission object in transit. Send a request to an endpoint that returns a JSON permission matrix, such as GET /user/self, and intercept the response. Modify the permissions field to elevate
When testing API endpoints, try sending requests with no authentication attached to see if they still respond. This can reveal endpoints that are missing authentication checks. If you find one, check other endpoints the same app uses to see if the same mistake was made elsewhere.
When testing a target with multiple virtual instances or domains, try escalating privileges by creating or modifying a group with a higher admin level. Send a POST or PATCH request to /admin/groups/groupslug with a modified group[admin_level] parameter, such as setting it to 5 f…
Try to create a cron job as a low-privileged user that executes a command as a more privileged user, such as sudo /usr/local/hestia/bin/v-change-user-password admin toor. If the cron job is created successfully, it may be possible to exploit a broken authorization check, such as…
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 dif…
Show the lower-privileged test account making the request and the response or change that proves it worked, beside the same action refused in the interface.
Writeups on Authorization, by hunters and researchers, most with a short summary.