CAS4/CAS5, What is in TGT and ST?

453 views
Skip to first unread message

Yan Zhou

unread,
Nov 19, 2020, 5:07:59 PM11/19/20
to CAS Community
Hello,

is there any user info. being stored in TGT and ST?  I would think so, I see Authentication being part of TGT.

Due to some security policy, we are asked whether we need to encrypt TGT and ST, because there is User Auth info., it sounds like we should encrypt it. 

Does that sound right? Thanks,
Yan

Ray Bon

unread,
Nov 19, 2020, 5:22:04 PM11/19/20
to cas-...@apereo.org
Yan,

The TGT stays on the cas server and the ticket storage system. It stores the user session details. The TGC is sent to the browser. It is just an identifier for cas to find a TGT.
The ST is just an identifier and stores no info.


Ray

On Thu, 2020-11-19 at 14:07 -0800, Yan Zhou wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.
-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations.

Yan Zhou

unread,
Nov 20, 2020, 3:24:27 PM11/20/20
to CAS Community, Ray Bon
Hi Ray, 

Thanks for the info.,  We use both CAS4/CAS5 in production.

Due to our security policy, we need to encrypt anything having user info. (even in the backend), this means we need to encrypt TGT in the ticket storage.  Otherwise, someone on our network can intercept the traffic between CAS and hazelcast registry and misuse the TGT coming across the wire. As I understand, CAS4 does NOT support encrypting TGT, that capability is new in CAS5.  

For both CAS4/CAS5, what has been encrypted and secured is the TGC (the thing that is sent to browser).   But our security policy requires even the backend be encrypted, as long as it has user info.  

With CAS5, we can do that, but with CAS4, that is not possible (the only alternative it to use secure channel to store/read TGT). 

Sounds right?
Yan

Ray Bon

unread,
Nov 20, 2020, 3:47:14 PM11/20/20
to yana...@gmail.com, cas-...@apereo.org
Yan,

That sounds right. It has been a while since I used those versions of cas.
I know that with cas 6 there are properties for ticket encryption, and they have to be set.

What is preventing you from upgrading?
Is cas 5 still supported? What about the java versions and host OS, are they supported?

This older software is the type of place where unauthorized users can gain access.

If your management insists that data be encrypted, they should provide you with the resources to keep this software current. 
Upgrade and you will be able to meet the security policy requirements.

Remember, cas is THE point of security to all your apps.

Ray

Yan Zhou

unread,
Nov 20, 2020, 4:28:04 PM11/20/20
to CAS Community, Ray Bon, Yan Zhou
thanks a lot for reply.

We have customized CAS flow and added additional flows. So, upgrading means to move all this over,  we are actually upgrading to CAS5 already.  

CAS5 does support encryption. I do not see we need to move to CAS6 to satisfy security requirements. 

CAS4 does not support encryption, so we have to use secure channel to protect communication (since we cannot encrypt data).

Please correct me If I missed anything. 

Thanks,
Yan
Reply all
Reply to author
Forward
0 new messages