CVE-2023-49087
Xml-security Canonicalization Information Forgery Vulnerability
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.
INFO
Published Date :
Nov. 30, 2023, 6:15 a.m.
Last Modified :
Dec. 6, 2023, 5:49 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2023-49087
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-49087
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-49087
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-49087
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Dec. 06, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581 No Types Assigned https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581 Patch Changed Reference Type https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r No Types Assigned https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r Exploit, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:simplesamlphp:saml2:5.0.0:alpha12:*:*:*:*:*:* *cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:* -
CVE Received by [email protected]
Nov. 30, 2023
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r [No types assigned] Added Reference GitHub, Inc. https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581 [No types assigned] Added CWE GitHub, Inc. CWE-345 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-49087
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-49087
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.01%
score
0.22836
percentile