CVE-2022-23305
CVSS V2 Medium 6.8
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2022-23305
- Assigner
- security@apache.org
- Vulnerability Status
- Analyzed
- Published Version
- 2022-01-18T16:15:08
- Last Modified Date
- 2023-02-24T15:30:38
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:* | 1 | OR | 1.2 | 1.2.17 |
cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:oracle:*:* | 1 | OR | ||
cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:sap:*:* | 1 | OR | ||
cpe:2.3:a:broadcom:brocade_sannav:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:qos:reload4j:*:*:*:*:*:*:*:* | 1 | OR | 1.2.18.2 | |
cpe:2.3:a:oracle:advanced_supply_chain_planning:12.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:advanced_supply_chain_planning:12.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:business_intelligence:5.9.0.0.0:*:*:*:enterprise:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:business_intelligence:12.2.1.3.0:*:*:*:enterprise:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:business_intelligence:12.2.1.4.0:*:*:*:enterprise:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:business_process_management_suite:12.2.1.3.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:business_process_management_suite:12.2.1.4.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:communications_eagle_ftp_table_base_retrieval:4.5:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:communications_messaging_server:8.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:communications_network_integrity:7.3.6:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:e-business_suite_cloud_manager_and_cloud_backup_module:*:*:*:*:*:*:*:* | 1 | OR | 2.2.1.1.1 | |
cpe:2.3:a:oracle:e-business_suite_cloud_manager_and_cloud_backup_module:2.2.1.1.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:enterprise_manager_base_platform:13.4.0.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:enterprise_manager_base_platform:13.5.0.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:financial_services_revenue_management_and_billing_analytics:2.7.0.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:financial_services_revenue_management_and_billing_analytics:2.7.0.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:financial_services_revenue_management_and_billing_analytics:2.8.0.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:healthcare_foundation:8.1.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:hyperion_data_relationship_management:*:*:*:*:*:*:*:* | 1 | OR | 11.2.8.0 | |
cpe:2.3:a:oracle:hyperion_infrastructure_technology:*:*:*:*:*:*:*:* | 1 | OR | 11.2.8.0 | |
cpe:2.3:a:oracle:identity_management_suite:12.2.1.3.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:identity_management_suite:12.2.1.4.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:identity_manager_connector:11.1.1.5.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:jdeveloper:12.2.1.3.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:middleware_common_libraries_and_tools:12.2.1.4.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:* | 1 | OR | 8.0.29 | |
cpe:2.3:a:oracle:tuxedo:12.2.2.0.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
http://www.openwall.com/lists/oss-security/2022/01/18/4 | Mailing List Third Party Advisory |
https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85y | Issue Tracking Mailing List Vendor Advisory |
https://logging.apache.org/log4j/1.2/index.html | Vendor Advisory |
https://security.netapp.com/advisory/ntap-20220217-0007/ | Third Party Advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
https://www.oracle.com/security-alerts/cpujul2022.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-23305 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23305 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-20 16:58:47 | Added to TrackCVE | |||
2022-12-06 06:52:24 | 2022-01-18T16:15Z | 2022-01-18T16:15:08 | CVE Published Date | updated |
2022-12-06 06:52:24 | 2022-07-25T18:21:10 | CVE Modified Date | updated | |
2022-12-06 06:52:24 | Modified | Vulnerability Status | updated | |
2022-12-06 06:52:30 | References | updated | ||
2022-12-30 15:12:57 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2023-02-24 16:13:21 | 2023-02-24T15:30:38 | CVE Modified Date | updated | |
2023-02-24 16:13:21 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |