HOMEVULNERABILITIESCVE-2022-23305
CRITICAL

CVE-2022-23305

CWE-89Published: January 18, 2022· Updated: Jun 17, 2026

9.8
CVSS v3.1

Official Description

By design, the JDBCAppender in Log4j 1.2.x accepts an SQL statement as a configuration parameter where the values to be inserted are converters from PatternLayout. The message converter, %m, is likely to always be included. This allows attackers to manipulate the SQL by entering crafted strings into input fields or headers of an application that are logged allowing unintended SQL queries to be executed. Note this issue only affects Log4j 1.x when specifically configured to use the JDBCAppender, which is not the default. Beginning in version 2.0-beta8, the JDBCAppender was re-introduced with proper support for parameterized SQL queries and further customization over the columns written to in logs. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.

NVD Source

Technical Analysis

CVE-2022-23305 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.

From a weakness classification perspective (CWE-89): SQL injection vulnerabilities allow attackers to manipulate database queries, potentially exposing or modifying sensitive data.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

Apache1 product(s)
log4j
broadcom1 product(s)
brocade sannav
netapp1 product(s)
snapmanager
Oracle24 product(s)
advanced supply chain planningbusiness intelligencebusiness process management suitecommunications eagle ftp table base retrievalcommunications instant messaging servercommunications messaging servercommunications network integritycommunications offline mediation controllercommunications unified inventory managemente-business suite cloud manager and cloud backup modulee-business suite information discoveryenterprise manager base platform+12
qos1 product(s)
reload4j
Source: NVD CPE · 41 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (12)

Quick Facts

CVE IDCVE-2022-23305
CVSS Score9.8 / 10
SeverityCRITICAL
WeaknessCWE-89
CISA KEVNo
Affected5 vendor(s)
PublishedJan 18, 2022

Related CVEs (CWE-89)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2022-23305 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.