🛡️ CVE-2022-23305
🔴 CVSS 9.8 — Critical ✅ No Known Exploit CWE-89 NVD
9.8
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity CRITICAL
CVSS Score 9.8
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-89
Public Exploit ✅ No
Source NVD
Published 2022-01-18
Updated 2026-06-09
Modified 2026-05-27

Affected Packages

Software From version Fixed in
advanced-supply-chain-planning
brocade-sannav
business-intelligence
business-process-management-suite
communications-eagle-ftp-table-base-retrieval
communications-instant-messaging-server
communications-messaging-server
communications-network-integrity
communications-offline-mediation-controller
communications-unified-inventory-management
e-business-suite-cloud-manager-and-cloud-backup-module
e-business-suite-information-discovery 12.2.3 12.2.11
enterprise-manager-base-platform
financial-services-revenue-management-and-billing-analytics
healthcare-foundation
hyperion-data-relationship-management 11.2.8.0
hyperion-infrastructure-technology 11.2.8.0
identity-management-suite
identity-manager-connector
jdeveloper
log4j 1.2 1.2.17
log4j:log4j
middleware-common-libraries-and-tools
mysql-enterprise-monitor 8.0.29
org.zenframework.z8.dependencies.commons:log4j-1.2.17
reload4j 1.2.18.2
retail-extract-transform-and-load
snapmanager
tuxedo
weblogic-server

References

Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2022/01/18/4
Issue Tracking, Mailing List, Vendor Advisory https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85y
Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2022/01/18/4
Issue Tracking, Mailing List, Vendor Advisory https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85y

Similar Threats

Free Vulnerability Check

Is your WordPress site affected?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.