Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. simplesamlphp/saml2
  4. ›
  5. CVE-2023-41890

CVE-2023-41890: Authentication Bypass by Alternate Name

September 19, 2023 (updated September 22, 2023)

Sustainsys.Saml2 library adds SAML2P support to ASP.NET web sites, allowing the web site to act as a SAML2 Service Provider. Prior to versions 1.0.3 and 2.9.2, when a response is processed, the issuer of the Identity Provider is not sufficiently validated. This could allow a malicious identity provider to craft a Saml2 response that is processed as if issued by another identity provider. It is also possible for a malicious end user to cause stored state intended for one identity provider to be used when processing the response from another provider. An application is impacted if they rely on any of these features in their authentication/authorization logic: the issuer of the generated identity and claims; or items in the stored request state (AuthenticationProperties). This issue is patched in versions 2.9.2 and 1.0.3. The AcsCommandResultCreated notification can be used to add the validation required if an upgrade to patched packages is not possible.

References

  • github.com/Sustainsys/Saml2/issues/712
  • github.com/Sustainsys/Saml2/issues/713
  • github.com/Sustainsys/Saml2/security/advisories/GHSA-fv2h-753j-9g39
  • nvd.nist.gov/vuln/detail/CVE-2023-41890

Code Behaviors & Features

Detect and mitigate CVE-2023-41890 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.3, all versions starting from 2.0.0 before 2.9.2

Fixed versions

  • 1.1.0
  • 3.0.0

Solution

Upgrade to versions 1.1.0, 3.0.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-289: Authentication Bypass by Alternate Name

Source file

packagist/simplesamlphp/saml2/CVE-2023-41890.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.