-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security issue in validate #7
Comments
Surly the service is required to be the URL of the service hosting the Consider the following:
If as I suggest |
In case this applies to my earlier comment, I deleted it after re-checking the CAS specification because I had forgotten some details. You're right. |
Note that if you can intercept the service ticket, it's likely you're also capable of intercepting the original service URL. Since the validation does not redirect, anyone can safely falsify the service URL during validation and use the intercepted service URL. Validating that the service URL matches the original service URL only protects against the use case in which both of the following are true:
I agree that this should be fixed, but it's unlikely to be a real security issue. |
Fairly sure that 'validate' should check that the ticket and service parameters match. Currently if once service gets a service ticket, it can then provide that ticket to another service and impersonate the user.
The text was updated successfully, but these errors were encountered: