TROYANOSYVIRUS
Back to CVEs

CVE-2022-23305

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.

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/18/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

apache:log4jbroadcom:brocade_sannavnetapp:snapmanageroracle:advanced_supply_chain_planningoracle:business_intelligenceoracle:business_process_management_suiteoracle:communications_eagle_ftp_table_base_retrievaloracle:communications_instant_messaging_serveroracle:communications_messaging_serveroracle:communications_network_integrityoracle:communications_offline_mediation_controlleroracle:communications_unified_inventory_managementoracle:e-business_suite_cloud_manager_and_cloud_backup_moduleoracle:e-business_suite_information_discoveryoracle:enterprise_manager_base_platformoracle:financial_services_revenue_management_and_billing_analyticsoracle:healthcare_foundationoracle:hyperion_data_relationship_managementoracle:hyperion_infrastructure_technologyoracle:identity_management_suiteoracle:identity_manager_connectororacle:jdeveloperoracle:middleware_common_libraries_and_toolsoracle:mysql_enterprise_monitororacle:retail_extract_transform_and_loadoracle:tuxedooracle:weblogic_serverqos:reload4j

Weaknesses (CWE)

CWE-89CWE-89

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.