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
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Log4J | >= 1.2, <= 1.2.17 |
| Netapp | Snapmanager | - |
| Broadcom | Brocade Sannav | - |
| Qos | Reload4J | < 1.2.18.2 |
| Oracle | Advanced Supply Chain Planning | 12.1 |
| Oracle | Business Intelligence | 5.9.0.0.0 |
| Oracle | Business Process Management Suite | 12.2.1.3.0 |
| Oracle | Communications Eagle Ftp Table Base Retrieval | 4.5 |
| Oracle | Communications Instant Messaging Server | 10.0.1.5.0 |
| Oracle | Communications Messaging Server | 8.1 |
| Oracle | Communications Network Integrity | 7.3.6 |
| Oracle | Communications Offline Mediation Controller | < 12.0.0.4.4 |
| Oracle | Communications Unified Inventory Management | 7.4.1 |
| Oracle | E-Business Suite Cloud Manager And Cloud Backup Module | < 2.2.1.1.1 |
| Oracle | E-Business Suite Information Discovery | >= 12.2.3, <= 12.2.11 |
| Oracle | Enterprise Manager Base Platform | 13.4.0.0 |
| Oracle | Financial Services Revenue Management And Billing Analytics | 2.7.0.0 |
| Oracle | Healthcare Foundation | 8.1.0 |
| Oracle | Hyperion Data Relationship Management | < 11.2.8.0 |
| Oracle | Hyperion Infrastructure Technology | < 11.2.8.0 |
Related Weaknesses (CWE)
References
- http://www.openwall.com/lists/oss-security/2022/01/18/4Mailing ListThird Party Advisory
- https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85yIssue TrackingMailing ListVendor Advisory
- https://logging.apache.org/log4j/1.2/index.htmlVendor Advisory
- https://security.netapp.com/advisory/ntap-20220217-0007/Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2022/01/18/4Mailing ListThird Party Advisory
- https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85yIssue TrackingMailing ListVendor Advisory
- https://logging.apache.org/log4j/1.2/index.htmlVendor Advisory
- https://security.netapp.com/advisory/ntap-20220217-0007/Third Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatchThird Party Advisory
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.