← Back to CVEs
CVE-2021-42392
CRITICAL9.8
Description
The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. An attacker may pass a JNDI driver name and a URL leading to a LDAP or RMI servers, causing remote code execution. This can be exploited through various attack vectors, most notably through the H2 Console which leads to unauthenticated remote code execution.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/10/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
debian:debian_linuxh2database:h2oracle:communications_cloud_native_core_policy
Weaknesses (CWE)
CWE-502CWE-502
References
https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/(reefs@jfrog.com)
https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html(reefs@jfrog.com)
https://security.netapp.com/advisory/ntap-20220119-0001/(reefs@jfrog.com)
https://www.debian.org/security/2022/dsa-5076(reefs@jfrog.com)
https://www.oracle.com/security-alerts/cpuapr2022.html(reefs@jfrog.com)
https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/(reefs@jfrog.com)
https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6(af854a3a-2127-422b-91ae-364da2661108)
https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html(af854a3a-2127-422b-91ae-364da2661108)
https://security.netapp.com/advisory/ntap-20220119-0001/(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2022/dsa-5076(af854a3a-2127-422b-91ae-364da2661108)
https://www.oracle.com/security-alerts/cpuapr2022.html(af854a3a-2127-422b-91ae-364da2661108)
https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.