{"id":"CVE-2023-49087","state":"PUBLISHED","title":"Validation of SignedInfo","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.","publishedAt":"2023-11-30T05:20:28.298Z","updatedAt":"2024-08-02T21:46:29.195Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["simplesamlphp xml-security"],"affected":[{"vendor":"simplesamlphp","product":"xml-security","versions":[{"version":"= 1.6.11","status":"affected"},{"version":"= 5.0.0-alpha.12","status":"affected"}]}],"references":["https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581"],"weaknesses":["CWE-345"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/49xxx/CVE-2023-49087.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-49087","state":"PUBLISHED","datePublished":"2023-11-30T05:20:28.298Z","dateUpdated":"2024-08-02T21:46:29.195Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-11-21T18:57:30.429Z"},"containers":{"cna":{"title":"Validation of SignedInfo","descriptions":[{"lang":"en","value":"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":[{"vendor":"simplesamlphp","product":"xml-security","versions":[{"version":"= 1.6.11","status":"affected"},{"version":"= 5.0.0-alpha.12","status":"affected"}]}],"references":[{"url":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","name":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581","name":"https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-345","lang":"en","description":"CWE-345: Insufficient Verification of Data Authenticity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-11-30T05:20:28.298Z"},"source":{"advisory":"GHSA-ww7x-3gxh-qm6r","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","name":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581","name":"https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T21:46:29.195Z"}}]}}}