Skip to content

Validate SAMLIdPServiceProviders ACS endpoints#32218

Merged
rosstimothy merged 1 commit intomasterfrom
tross/saml_acs
Sep 20, 2023
Merged

Validate SAMLIdPServiceProviders ACS endpoints#32218
rosstimothy merged 1 commit intomasterfrom
tross/saml_acs

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Enforces that all ACS endpoints are HTTPS to prevent any XSS attacks. To allow admins to interogate any existing resources which may be impacted validation only happens on create and update but not get. All usages of SAMLIdPServiceProviders within teleport follow all internal retrievals with a call to
services.ValidateAssertionConsumerServicesEndpoint in order to subvert invalid ACS endpoints.

Copy link
Copy Markdown
Contributor

@marcoandredinis marcoandredinis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we allow existing ones? We could validate and possibly return an error when Getting or Listing

Comment thread lib/services/saml_idp_service_provider.go Outdated
Enforces that all ACS endpoints are HTTPS to prevent any
XSS attacks. To allow admins to interogate any existing resources
which may be impacted validation only happens on create and update
but not get. All usages of SAMLIdPServiceProviders within teleport
follow all internal retrievals with a call to
services.ValidateAssertionConsumerServicesEndpoint in order to
subvert invalid ACS endpoints.
@rosstimothy rosstimothy added this pull request to the merge queue Sep 20, 2023
Merged via the queue into master with commit 7dcce25 Sep 20, 2023
@rosstimothy rosstimothy deleted the tross/saml_acs branch September 20, 2023 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants