Advisory

GO-2023-2114

Also known as: CVE-2023-45683, GHSA-267v-3v32-g6q5

Summary

Cross-site scripting via missing binding syntax validation in github.com/crewjam/saml

Details

The package does not validate the ACS Location URI according to the SAML binding being parsed. If abused, this flaw allows attackers to register malicious Service Providers at the IdP and inject Javascript in the ACS endpoint definition, achieving Cross-Site-Scripting (XSS) in the IdP context during the redirection at the end of a SAML SSO Flow. Consequently, an attacker may perform any authenticated action as the victim once the victim's browser loads the SAML IdP initiated SSO link for the malicious service provider.

Severity

Not rated by the source.

Dates

Published
2023-10-24 16:45 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/crewjam/saml

Go · All systems

Affected

  • introduced 0, fixed 0.4.14 (semver)

Fixed versions

0.4.14

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences