9.8
CRITICAL
CVE-2022-41853
Hsqldb Java SQL Injection Remote Code Execution
Description

Those using java.sql.Statement or java.sql.PreparedStatement in hsqldb (HyperSQL DataBase) to process untrusted input may be vulnerable to a remote code execution attack. By default it is allowed to call any static method of any Java class in the classpath resulting in code execution. The issue can be prevented by updating to 2.7.1 or by setting the system property "hsqldb.method_class_names" to classes which are allowed to be called. For example, System.setProperty("hsqldb.method_class_names", "abc") or Java argument -Dhsqldb.method_class_names="abc" can be used. From version 2.7.1 all classes by default are not accessible except those in java.lang.Math and need to be manually enabled.

INFO

Published Date :

Oct. 6, 2022, 6:17 p.m.

Last Modified :

Feb. 3, 2023, 11:43 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2022-41853 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-41853 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.

ID Vendor Product Action
1 Debian debian_linux
1 Hsqldb hypersql_database
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-2022-41853.

URL Resource
http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control Third Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50212#c7 Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/12/msg00020.html Mailing List Third Party Advisory
https://www.debian.org/security/2023/dsa-5313 Third Party Advisory

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).

MAL-001: FreeMarker Server-Side Template Injection in Liferay Portal

0-day authenticated bypass server-side-template-injection cve-2020-13445 remote-code-execution

Updated: 10 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 2, 2024, 9:16 p.m. This repo has been linked 2 different CVEs too.

Research into CVE-2022-41853: Using static functions to obtian RCE via Java Deserialization & Remote Codebase Attack

security-research cve-2022-41853 remote-code-execution deserialization

Updated: 11 months, 2 weeks ago
2 stars 1 fork 1 watcher
Born at : Nov. 24, 2023, 10:30 a.m. This repo has been linked 1 different CVEs too.

基于springcloud实现的分布式事务框架(3年前提交的那版删除了,因为涉及了某公司的隐私)

Java HTML

Updated: 1 year, 11 months ago
1 stars 1 fork 1 watcher
Born at : March 29, 2022, 6:53 a.m. This repo has been linked 15 different CVEs too.

Treats CSV and JSON files as SQL tables, and exports SQL SELECTs back to CSV or JSON.

sql csv json tool etl etl-automation hsqldb command command-line-tool

Shell Kotlin

Updated: 2 months, 4 weeks ago
44 stars 10 fork 10 watcher
Born at : March 18, 2016, 2:18 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-41853 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-41853 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
  • Modified Analysis by [email protected]

    Feb. 03, 2023

    Action Type Old Value New Value
    Changed Reference Type http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control Technical Description, Third Party Advisory http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/12/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/12/msg00020.html Mailing List, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2023/dsa-5313 No Types Assigned https://www.debian.org/security/2023/dsa-5313 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 11, 2023

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2023/dsa-5313 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 10, 2022

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2022/12/msg00020.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 11, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control No Types Assigned http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_access_control Technical Description, Third Party Advisory
    Changed Reference Type https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50212#c7 No Types Assigned https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50212#c7 Mailing List, Third Party Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:hsqldb:hypersql_database:*:*:*:*:*:*:*:* versions up to (excluding) 2.7.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-41853 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-2022-41853 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.27 }} 0.50%

score

0.85681

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability