Andrew Nguyen

CA Vulnerability on Identity Manager (CA20170921-01)

Blog Post created by Andrew Nguyen Employee on Feb 5, 2018

The issue was in the way the CA Identity Manager displays error information after a user account has been locked out, which allowed attackers to brute-force credentials and use them after the account is no longer locked.

The system would display 'Error: Username and password do not match' when an incorrect username/password combination was used, which of course, makes sense. However, when correct credentials are used for a locked account, the user is redirected to /iam/im/pub/cui7/index.jsp?SMAUTHREASON=24&task.tag=passwordServices and the error message is: 'Error: You cannot access your account because you have exceeded the limit of login attempts.

 

The expected functionality is:
* Create IM password policy which specifies that user must be disabled after 3 successive failed login attempts
* Create a user (say) user1 with the password ‘test’
* Log on successfully
* Log on 3 times with the password ‘testxxxx’
* Log on a 4th time with the password ‘testxxx’. You should get a message that you are now disabled
* Log on a 5th time with the correct password ‘test’. You should get a message that you are now disabled

These steps noted previously was to test if the vulnerability existed in your system or not.


This functionality is handled by SSO Password Services, why did CA issue a patch for IDM?

Identity Manager and SSO handles authentication differently. If SSO was not integrated the above vulnerability would happen. IF SSO is integrated with Identity Manager, SSO handles all the authentication and would not be affected.

To make sure if this makes sense:

Authentication process:

With SSO-IDM

Login with SSO username and password.-> Authentication approves -> Session is sent to IDM

Without SSO,

Login with IDM username and password -> Authentication approves -> session is sent to IDM

Hopefully you can see how the authentication is handled differently. With SSO when authentication fails it would send a message to SSO about the failed login versus when the authentication fails with IDM it would send a message to IDM.

Outcomes