Tag #authenticationRemove tag filter
To test for Cross-Site Request Forgery (CSRF) vulnerabilities, identify sensitive state-changing functionality on the target application, such as changing an email address or updating account information. Capture the HTTP request for the functionality using a tool like Burp Suit…
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 testing API endpoints, try to access resources that should belong to other users or organizations by modifying the organization_id or similar parameters in the request. If the endpoint returns data for other organizations, it may indicate an Insecure Direct Object Reference…
When testing a target like target.com, try updating your profile with a modified externalId field set to another user's ID, such as an admin's ID, and a new password. If the update is successful and you can log in as the targeted user, it may indicate an Insecure Direct Object R…
When a target has multiple services sharing a login system, test whether a token issued for one service is accepted by another. Try using a token from a low-stakes service, such as a forum, to access a high-stakes service, such as an admin panel. Look for a response that indicat…
Check the Set-Cookie header in responses from target.com for missing HttpOnly and Secure flags. Send a request to target.com with a cookie that lacks these flags to see if it is accepted. If the flags are missing, try accessing the cookie through document.cookie or intercepting…
To test if an MCP server is exposed, first check what the process binds to with ss -tlnp | grep -E ':(3000|8000|8080|8443)'. A binding to 0.0.0.0 or [::] means the server is listening on all interfaces. Then, try an unauthenticated call to the server from outside its intended bo…
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…
When testing a target that uses OAuth login, such as Login with Google, try logging in with your own account to see if you are granted more access than you should have. Check if you can access sensitive data or administrative panels that you should not have access to. Look for C…
When testing an AWS Cognito User Pool with multiple external IdPs, try to create a ghost identity by registering a malicious OIDC server as an IdP and federating with an email address. If the PreSignUp_ExternalProvider trigger does not include a domain check, Cognito may persist…
When testing an OAuth 2.0 implementation, try manipulating the redirect_uri parameter to see if the server properly validates it. Test variations like https://attacker.example, https://target.com.attacker.example, https://target.com@attacker.example, and http://target.com/callba…
When testing an API with an OpenAPI spec, identify endpoints that are marked as public or optional, and those that require authentication. Use a script to extract these endpoints from the spec and then probe them with and without a token to confirm whether the server enforces the
curl -sk -X POST "https://target.com/api/Usuario/GetUsuarios" \ -H "Content-Type: application/json" \ -d '{"ID":<target_id>, "Token":<auth_token>}'
When testing a SAML integration, try modifying the NameID in a SAMLResponse to an administrative account, such as admin@target.com, and re-encoding it. If the Service Provider accepts the modified response without verifying the signature, you may be able to bypass authentication.
Try injecting SQL payloads in the search_term parameter of the GET /api/workspace/{workspace-id}/quick-note endpoint to test for SQL injection. Send a request with a payload like ?search_term=1" )' OR (SELECT CAST(version() AS numeric)) IS NOT NULL-- to see if the application is…
When testing a web application, try modifying the Origin header using a tool like Burp Suite to see if the server reflects the supplied value. If it does, investigate further to determine if the application is using a weak validation check, such as startsWith(), which could allow
When investigating a target, look for Java servlets that are exposed to the Internet without authentication. Test if these servlets pass user-controlled input to Runtime.exec(String[]), which can lead to remote code execution (RCE). Use an inert probe, such as a sleep command, to
When verifying JSON Web Tokens (JWTs), always specify the expected algorithm to prevent attackers from manipulating the alg attribute in the token header. Use a library that allows you to pass an explicit algorithm to verify(), such as jwt.verify(secret, token, 'HS256'). This pr…