This add-on includes a passive scan rule which attempts to identify authentication requests.
It identifies authentication requests by the presence of commonly used username and password field names. It also uses commonly used URL segments to identify more likely authentication requests, and uses commonly used registration URL segments to ignore registration requests.
The rule will not attempt to identify very unusual authentication requests - automation is one of the end goals so false negatives (missing unusual authentication requests) are more desirable than false positives (incorrectly identifying an authentication request).
If this rule identifies an authentication request that is part of the context that you have set to use the Auto-Detect Authentication Method then this rule will update the context to use the authentication method identified.
If an authentication request is not identified then check to make sure it is made to a site which is included in the context.
If it is not then add the site to the context and authenticate again via your browser.
The ‘Other Info’ field is used to report a set of key-value pairs which can be easily parsed. The current keys supported are:
There can potentially be multiple csrfTokens.
The rule will currently identify:
If this rule fails to identify one of the above types of authentication requests then you can raise an issue with the complete request and response details (having obfuscated any sensitive information) and we will investigate it.
Latest code: AuthenticationDetectionScanRule.java