CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Simplesamlphp

CVE-2023-49087
Simplesamlphp Saml2 vulnerability

xml-security is a library that implements XML signatures and encryption. Validation of an XML signature requires verification that the hash value of the related XML-document matches a specific DigestValue-value, but also that the cryptographic signature on the SignedInfo-tree (the one that contains the DigestValue) verifies and matches a trusted public key. If an attacker somehow (i.e. by exploiting a bug in PHP's canonicalization function) manages to manipulate the canonicalized version's DigestValue, it would be possible to forge the signature. This issue has been patched in version 1.6.12 and 5.0.0-alpha.13.

Affected products

Saml2, Xml-security. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Simplesamlphp Saml2 runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Simplesamlphp products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.