CRITICAL · 9.8

CVE-2022-23305

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

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

CVSS Score

9.8

CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
ApacheLog4J>= 1.2, <= 1.2.17
NetappSnapmanager-
BroadcomBrocade Sannav-
QosReload4J< 1.2.18.2
OracleAdvanced Supply Chain Planning12.1
OracleBusiness Intelligence5.9.0.0.0
OracleBusiness Process Management Suite12.2.1.3.0
OracleCommunications Eagle Ftp Table Base Retrieval4.5
OracleCommunications Instant Messaging Server10.0.1.5.0
OracleCommunications Messaging Server8.1
OracleCommunications Network Integrity7.3.6
OracleCommunications Offline Mediation Controller< 12.0.0.4.4
OracleCommunications Unified Inventory Management7.4.1
OracleE-Business Suite Cloud Manager And Cloud Backup Module< 2.2.1.1.1
OracleE-Business Suite Information Discovery>= 12.2.3, <= 12.2.11
OracleEnterprise Manager Base Platform13.4.0.0
OracleFinancial Services Revenue Management And Billing Analytics2.7.0.0
OracleHealthcare Foundation8.1.0
OracleHyperion Data Relationship Management< 11.2.8.0
OracleHyperion Infrastructure Technology< 11.2.8.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2022-23305?

CVE-2022-23305 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...

How severe is CVE-2022-23305?

CVE-2022-23305 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.

Is there a patch for CVE-2022-23305?

Check the references section above for vendor advisories and patch information. Affected products include: Apache Log4J, Netapp Snapmanager, Broadcom Brocade Sannav, Qos Reload4J, Oracle Advanced Supply Chain Planning.