{"schemaVersion":3,"id":"CVE-2023-49087","aliases":[],"status":"published","duplicateOf":null,"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.","dates":{"published":"2023-11-30T05:20:28.298Z","modified":"2024-08-02T21:46:29.195Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00193,"percentile":0.08435,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00193},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00193,"percentile":0.08435}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00193,"percentile":0.08435}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SIMPLESAMLPHP_XML-SECURITY","name":"Xml Security","source":"github","url":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity","description":"The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/345.html"}],"affected":[{"vendor":"simplesamlphp","product":"saml2","name":"saml2","label":"saml2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.0.0:alpha12","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.0.0:alpha12","eol":null,"hubHref":"/vendor/simplesamlphp/saml2"},{"vendor":"simplesamlphp","product":"xml-security","name":"xml-security","label":"xml-security","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"= 1.6.11","noFixRecorded":false,"fixedIn":null},{"text":"= 5.0.0-alpha.12","noFixRecorded":false,"fixedIn":null},{"text":"1.6.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"= 1.6.11 | = 5.0.0-alpha.12 | 1.6.11","eol":null,"hubHref":"/vendor/simplesamlphp/xml-security"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","label":"github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","Vendor Advisory"]},{"url":"https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581","label":"github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581","hostname":"github.com","tags":["X Refsource MISC","Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-11-30T05:20:28.298Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T21:46:29.195Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:46:02.556Z","stale":false,"partial":false}}