Validation of SignedInfo
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-345.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| simplesamlphp | xml-security | = 1.6.11; = 5.0.0-alpha.12 | — | No fix listed | CNA |
| — | simplesamlphp/xml-security (Packagist) | 1.6.11 to before 1.6.12 | 1.6.12 | Patch available | GHSA-ww7x-3gxh-qm6r |
| — | simplesamlphp/saml2 (Packagist) | 5.0.0-alpha.12 to before 5.0.0-alpha.13 | 5.0.0-alpha.13 | Patch available | GHSA-ww7x-3gxh-qm6r |
- xml-security Vendorsimplesamlphp Affected = 1.6.11; = 5.0.0-alpha.12 Fixed in — No fix listed CNA
- simplesamlphp/xml-security (Packagist) Vendor— Affected 1.6.11 to before 1.6.12 Fixed in 1.6.12 Patch available GHSA-ww7x-3gxh-qm6r
- simplesamlphp/saml2 (Packagist) Vendor— Affected 5.0.0-alpha.12 to before 5.0.0-alpha.13 Fixed in 5.0.0-alpha.13 Patch available GHSA-ww7x-3gxh-qm6r
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:simplesamlphp:saml2:5.0.0:alpha12:*:*:*:*:*:* | 5.0.0 alpha12 | Vulnerable | simplesamlphp |
| cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:* | 1.6.11 | Vulnerable | simplesamlphp |
- cpe:2.3:a:simplesamlphp:saml2:5.0.0:alpha12:*:*:*:*:*:* Versions 5.0.0 alpha12 Vulnerable ·simplesamlphp
- cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:* Versions 1.6.11 Vulnerable ·simplesamlphp
Remediation
- Fix · GHSA-ww7x-3gxh-qm6r simplesamlphp/xml-security (Packagist) Fixed in 1.6.12 Advisory →
- Fix · GHSA-ww7x-3gxh-qm6r simplesamlphp/saml2 (Packagist) Fixed in 5.0.0-alpha.13 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-49087
- 2026-10-03 Alias added: GHSA-ww7x-3gxh-qm6r
References
Patch 1
More simplesamlphp Saml2 vulnerabilities
- TI-2016-07944 The validateSignature method in the SAML2\Utils class in SimpleSAMLphp before 1.14.10 and… CVSS 3.0CRITICAL 9.1
- TI-2018-05557 HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect… CVSS 3.0HIGH 8.1
- TI-2018-04799 The SAML2 library before 1.10.4, 2.x before 2.3.5, and 3.x before 3.1.1 in SimpleSAMLphp… CVSS 3.0HIGH 7.5
Sources
- CVE-2023-49087 · CVE Program
- CVE-2023-49087 · NVD
- FIRST EPSS
- GHSA-ww7x-3gxh-qm6r · GitHub Advisory Database · CC BY 4.0
- CVE-2023-49087 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences