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.
Advisories
Source ID Title
EUVD EUVD EUVD-2023-3057 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.
Github GHSA Github GHSA GHSA-ww7x-3gxh-qm6r Validation of SignedInfo
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-02T21:46:29.195Z

Reserved: 2023-11-21T18:57:30.429Z

Link: CVE-2023-49087

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-11-30T06:15:47.173

Modified: 2024-11-21T08:32:47.700

Link: CVE-2023-49087

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-11-30T00:00:00Z

Links: CVE-2023-49087 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses