PT-2024-13626

CVE-2023-48703

·

Published

2024-03-06

·

Updated

2025-12-04

Description by

CVSS 4.0
8.7
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions go-saml versions all known versions
Description The go-saml library contains an authentication bypass issue due to the internal use of the xmlsec1 command line tool to verify SAML assertions without restricting the origin of the public key for signature verification. This allows an attacker to sign SAML assertions with a self-provided public key, such as an RSA key, embedded in the SAML token.
Recommendations For all known versions, consider forking the go-saml project and adding the command line argument --enabled-key-data with a value such as x509 or raw-x509-cert when calling the xmlsec1 binary in the verify function as a temporary workaround. However, this workaround must be carefully tested before use. Alternatively, projects should move to another SAML library or remove support for SAML from their projects.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-6H53-Q94J-348W
GO-2024-3048
Found an issue in the description? Have something to add? Feel free to write us 👾