Prevent Account Harvesting by exploiting account lockout.
Username information is exposed when the account lockout state occurs due to the conditions set by the Active Directories Policies.
CVA 0042
CWE 204
PolicyServer 12.8
Failed login attempts cause the Usernames to be exposed within the URL because of the Password policies on the AD.
Use the smpwservices.fcc instead of the default login.fcc
From the WebAgentTrace logs:
[Localized Path = C:\Program Files\CA\webagent\win64\samples/forms_en-US/login_en-US.fcc, working locale = en-US]
Set the value to 1.
This will still show the SMAuthReason in the URL. If you are OK with it, you can stop here. If not, follow next steps.
If it is still considered vulnerable and may give hint with SMAuthReason code. And do not want to see the SMAuthReason, please continue.
You can also customize the message that appear on the screen like below,
Modify the login_en-US.fcc file to customize the Account information Message Displayed.
Go to the below and provide a suitable message.