Bug 2252245 (CVE-2023-49087) - CVE-2023-49087 xml-security: insufficient verification of data can lead to signature forging
Summary: CVE-2023-49087 xml-security: insufficient verification of data can lead to si...
Keywords:
Status: NEW
Alias: CVE-2023-49087
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2252246 2252247
Blocks: 2252238
TreeView+ depends on / blocked
 
Reported: 2023-11-30 10:21 UTC by ybuenos
Modified: 2024-05-17 13:55 UTC (History)
23 users (show)

Fixed In Version: xml-security 1.6.12, xml-security 5.0.0-alpha.13
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2023-11-30 10:21:30 UTC
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.

https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581
https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r

Comment 1 ybuenos 2023-11-30 10:22:00 UTC
Created xml-security-c tracking bugs for this issue:

Affects: epel-7 [bug 2252246]
Affects: fedora-all [bug 2252247]


Note You need to log in before you can comment on or make changes to this bug.