CVE-2021-23463
H2 Database XML External Entity (XXE) Injection Vulnerability
Description
The package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability.
INFO
Published Date :
Dec. 10, 2021, 8:15 p.m.
Last Modified :
Aug. 18, 2023, 2:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-23463 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2021-23463
.
URL | Resource |
---|---|
https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3 | Broken Link |
https://github.com/h2database/h2database/issues/3195 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/h2database/h2database/pull/3199 | Issue Tracking Patch Third Party Advisory |
https://security.netapp.com/advisory/ntap-20230818-0010/ | |
https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238 | Exploit Patch Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Not Applicable |
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).
Java CVE Vulnerability Environment
cve java dubbo apache spring
Java HTML PLpgSQL Python JavaScript CSS Shell Dockerfile
None
Java Shell
h2-jdbc(https://github.com/h2database/h2database/issues/3195) & mysql-jdbc(CVE-2021-2471) SQLXML XXE vulnerability reproduction.
Java
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-23463
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-23463
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 -
CVE Modified by [email protected]
Aug. 18, 2023
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20230818-0010/ [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 28, 2022
Action Type Old Value New Value Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2022.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2022.html Not Applicable -
CVE Modified by [email protected]
Apr. 20, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 12, 2022
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:* versions up to (excluding) 2.0.202 OR *cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:* versions from (including) 1.4.198 up to (excluding) 2.0.202 -
CVE Modified by [email protected]
Jan. 03, 2022
Action Type Old Value New Value Changed Description The package com.h2database:h2 from 0 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability. The package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability. -
Initial Analysis by [email protected]
Dec. 14, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Changed Reference Type https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3 No Types Assigned https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3 Broken Link Changed Reference Type https://github.com/h2database/h2database/issues/3195 No Types Assigned https://github.com/h2database/h2database/issues/3195 Exploit, Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/h2database/h2database/pull/3199 No Types Assigned https://github.com/h2database/h2database/pull/3199 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238 Exploit, Patch, Third Party Advisory Added CWE NIST CWE-611 Added CPE Configuration OR *cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:* versions up to (excluding) 2.0.202
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-23463
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-2021-23463
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.04 }} 0.30%
score
0.84231
percentile