Test API endpoints for OS command injection
POST /mics/api/v2/sentry/mics-config/handleMessage HTTP/1.1Host: target.comContent-Type: application/x-www-form-urlencodedTag
Published tips with this tag, newest first. Payloads and commands are shown as plain text.
Tag #api-securityRemove tag filter
POST /mics/api/v2/sentry/mics-config/handleMessage HTTP/1.1Host: target.comContent-Type: application/x-www-form-urlencodedTo test if a rate limit can be bypassed, send requests to the target's API with a pause of a few seconds between each request, using the same account and token. If the rate limit is not triggered, it may indicate that the limit is not effectively enforced. Check the X-RateLimit-*
GET /api/endpoint?' HTTP/1.1Host: target.comWhen testing an API that serves records by numeric ID, try lowering the ID in a request to see if it returns other users' records. This can reveal an insecure direct object reference (IDOR) if the API checks only that the caller is logged in, not that the record belongs to the c…
Send a tools/call request to target.com/mcp with a SQL injection payload in the arguments field, such as ' UNION SELECT username, password FROM users--. If the server returns data from the users table, it may be vulnerable to SQL injection. Try this with different tools and payl…
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.…
When a target has a mobile app and web API, try to find endpoints that handle the same data. If the mobile app provides an identifier, such as a review_id, test whether the web API accepts it. Use a tool like a proxy to capture the mobile app's request, extract the identifier, a…
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…
When testing API documentation tools, look for renderers that convert Markdown to HTML. Check if the renderer allows raw HTML in the input by searching for html: true in the code. Then, verify if the HTML output is properly sanitized. If not, it may be possible to inject malicio…