CVE-2022-23305
Last modified
CVE-2022-23305 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 66.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Log4j | >= 1.2, <= 1.2.17 |
| Netapp | Snapmanager | All versions |
| Broadcom | Brocade Sannav | All versions |
| Qos | Reload4j | < 1.2.18.2 |
| Oracle | Advanced Supply Chain Planning | 12.1 |
| Oracle | Advanced Supply Chain Planning | 12.2 |
| Oracle | Business Intelligence | 5.9.0.0.0 |
| Oracle | Business Intelligence | 12.2.1.3.0 |
| Oracle | Business Intelligence | 12.2.1.4.0 |
| Oracle | Business Process Management Suite | 12.2.1.3.0 |
| Oracle | Business Process Management Suite | 12.2.1.4.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 Offline Mediation Controller | 12.0.0.5.0 |
| Oracle | Communications Unified Inventory Management | 7.4.1 |
| Oracle | Communications Unified Inventory Management | 7.4.2 |
| Oracle | E-Business Suite Cloud Manager And Cloud Backup Module | < 2.2.1.1.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 | Enterprise Manager Base Platform | 13.5.0.0 |
| Oracle | Financial Services Revenue Management And Billing Analytics | 2.7.0.0 |
| Oracle | Financial Services Revenue Management And Billing Analytics | 2.7.0.1 |
| Oracle | Financial Services Revenue Management And Billing Analytics | 2.8.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 |
| Oracle | Identity Management Suite | 12.2.1.3.0 |
| Oracle | Identity Management Suite | 12.2.1.4.0 |
| Oracle | Identity Manager Connector | 11.1.1.5.0 |
| Oracle | Jdeveloper | 12.2.1.3.0 |
| Oracle | Middleware Common Libraries And Tools | 12.2.1.4.0 |
| Oracle | Mysql Enterprise Monitor | <= 8.0.29 |
| Oracle | Retail Extract Transform And Load | 13.2.5 |
| Oracle | Tuxedo | 12.2.2.0.0 |
| Oracle | Weblogic Server | 12.2.1.3.0 |
| Oracle | Weblogic Server | 12.2.1.4.0 |
| Oracle | Weblogic Server | 14.1.1.0.0 |
References
- http://www.openwall.com/lists/oss-security/2022/01/18/4Mailing List, Third Party Advisory
- https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85yIssue Tracking, Mailing List, Vendor 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.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/01/18/4Mailing List, Third Party Advisory
- https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85yIssue Tracking, Mailing List, Vendor 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.htmlPatch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-23305?
How severe is CVE-2022-23305?
How do I fix CVE-2022-23305?
Are you affected by CVE-2022-23305?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
