CVE-2022-23305

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductApache Log4j
PublishedJan 18, 2022
First seenJan 18, 2022
Weakness typeCWE-89SQL injection

How to fix

Update
  • qos reload4j1.2.18.2 or later
  • oracle communications_offline_mediation_controller12.0.0.4.4 or later
  • oracle e-business_suite_cloud_manager_and_cloud_backup_module2.2.1.1.1 or later
  • oracle hyperion_data_relationship_management11.2.8.0 or later
  • oracle hyperion_infrastructure_technology11.2.8.0 or later

Affected products

ProductAffected versionsFixed in
apache log4j1.2 ≤ v ≤ 1.2.17—
netapp snapmanagerNo range specified—
broadcom brocade_sannavNo range specified—
qos reload4jv < 1.2.18.21.2.18.2
oracle advanced_supply_chain_planning12.1, 12.2—
oracle business_intelligence5.9.0.0.0, 12.2.1.3.0, 12.2.1.4.0—
oracle business_process_management_suite12.2.1.3.0, 12.2.1.4.0—
oracle communications_eagle_ftp_table_base_retrieval4.5—
oracle communications_instant_messaging_server10.0.1.5.0—
oracle communications_messaging_server8.1—
oracle communications_network_integrity7.3.6—
oracle communications_offline_mediation_controllerv < 12.0.0.4.4, 12.0.0.5.012.0.0.4.4
oracle communications_unified_inventory_management7.4.1, 7.4.2—
oracle e-business_suite_cloud_manager_and_cloud_backup_modulev < 2.2.1.1.1, 2.2.1.1.12.2.1.1.1
oracle e-business_suite_information_discovery12.2.3 ≤ v ≤ 12.2.11—
oracle enterprise_manager_base_platform13.4.0.0, 13.5.0.0—
oracle financial_services_revenue_management_and_billing_analytics2.7.0.0, 2.7.0.1, 2.8.0.0—
oracle healthcare_foundation8.1.0—
oracle hyperion_data_relationship_managementv < 11.2.8.011.2.8.0
oracle hyperion_infrastructure_technologyv < 11.2.8.011.2.8.0
oracle identity_management_suite12.2.1.3.0, 12.2.1.4.0—
oracle identity_manager_connector11.1.1.5.0—
oracle jdeveloper12.2.1.3.0—
oracle middleware_common_libraries_and_tools12.2.1.4.0—
oracle mysql_enterprise_monitorv ≤ 8.0.29—
oracle retail_extract_transform_and_load13.2.5—
oracle tuxedo12.2.2.0.0—
oracle weblogic_server12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0—
log4j:log4jMavenv ≤ 1.2.17—
org.zenframework.z8.dependencies.commons:log4j-1.2.17Mavenv ≤ 2.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.