Self-Elevation Issue via @company.com Email Address Format. using a hidden API endpoint that allowed me to change my email address, even though the functionality was disabled in the UI #BugBounty #BugBountytips pic.twitter.com/7u5aEeYf…
When testing a .NET application, send requests to each endpoint and observe the response. Look for endpoints that return a 302 status code with a large Content-Length and HTML content in the body, indicating a potential Execution After Redirect (EAR) vulnerability. To confirm, m…
POST /login/?login_only=1 HTTP/1.1Host: target:2087Content-Type: application/x-www-form-urlencoded…
IKEv1 Main Mode packet with Vendor ID payload: Magic: `3c f1 87 b2 47 40 29 ea 46 ac 7f d0 ea f2 89 f5` Trailing bytes: `0x00000004`…
When testing an Android app, look for exported activities that handle intent extras. An attacker can send an intent to an exported activity with arbitrary extras, potentially allowing them to import settings or leak private data. Check the app's code for activities that use inte…
When testing an Android application, check the permissions of its exported providers. If a permission is not defined with a signature-level protection, an attacker may be able to access the provider by simply declaring the permission in their own manifest. Look for providers that
To test if a login endpoint is vulnerable to brute-force attacks, send multiple POST requests to the wp-login.php endpoint with different credentials. If the endpoint does not implement rate limiting, it will respond with a 200 OK status code for each failed login attempt. A suc…
Try sending an HTTP POST request to the /api/v1/aws/token/ endpoint with a trailing slash. If the server does not strip the trailing slash, the AntPathMatcher may fail to match the URL, bypassing authentication. Look for a response that indicates the authentication filter was sk…
Try sending a SAML response with the sigalg set to none or an otherwise invalid signature to see if the target accepts it. If the target verifies SAML signatures as optional, it may be vulnerable to session takeover. Look for a successful login or session establishment in the re…
Try sending an OAuth token with alg set to none to see if it is accepted. Also, test for exposed secrets in public repositories by searching for hardcoded credentials in GitHub commits. Look for standing authentication and unauthorized access to sensitive data. An attacker can u…
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…
When testing an application with 2FA, try to enroll in 2FA as an unverified user by sending a POST to the /api/profile/2fa/setup endpoint with a session cookie from an unverified account. If the server returns a TOTP secret without verifying the account, it may indicate a flaw.…
Look for gRPC services running on a target, such as on target.com:9095. Try to call methods without authentication to see if they are accepted. If the service listens on all interfaces, test it from another host, such as attacker.example, to see if authentication is required. Use
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 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 authentication attacks, try using the username as the password for discovered user accounts. This simple test can sometimes yield valid credentials, as seen in the case where the account ybob317 used its username as its password. After obtaining valid credentials, u…
When testing a password reset flow on target.com, try to identify whether the application leaks information about existing accounts. Check the UI, API responses, and response timing for differences when submitting registered and unregistered emails. Use a tool like Burp to compa…
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
Authentication: how to hunt it
Where to look
- Password reset: tokens that can be reused, tokens tied to the wrong account, and reset links built from the Host header.
- Multi-factor steps that can be skipped, guessed without limit, or completed in another session.
- Sessions that survive logout, a password change or an email change.
- Rate limits on login, one-time codes and reset, and differences between web, mobile and API sign-in.
What proves it
Show a test account of your own taken over by an attacker with no access to it, and state every precondition.
Read further
Writeups on Authentication, by hunters and researchers, most with a short summary.
Related classes