CVE-2023-49087
HIGH EPSS 9.1%
Published Nov 30, 20232y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
Published Nov 30, 2023 2y ago
Last Modified Jun 17, 2026 2w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity High
Availability None
Threat Intelligence
EPSS Exploit Probability
9.1% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-345
Affected Products 2
| Vendor | Product | Version | Range |
|---|---|---|---|
| simplesamlphp | saml2 | 5.0.0 | any |
| simplesamlphp | xml-security | 1.6.11 | any |
References 2
- github.com https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581
- github.com https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r
Remediation
- github.com https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581