Rapid7 Vulnerability & Exploit Database

IBM WebSphere Application Server: CVE-2022-23305: IBM WebSphere Application Server and IBM WebSphere Application Server Liberty are vulnerable to arbitrary code execution and SQL injection due to Apache Log4j. (CVE-2022-23302, CVE-2022-23307, CVE-2022-23305)

Back to Search

IBM WebSphere Application Server: CVE-2022-23305: IBM WebSphere Application Server and IBM WebSphere Application Server Liberty are vulnerable to arbitrary code execution and SQL injection due to Apache Log4j. (CVE-2022-23302, CVE-2022-23307, CVE-2022-23305)

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
01/18/2022
Created
08/29/2022
Added
08/26/2022
Modified
08/26/2022

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.

Solution(s)

  • ibm-was-install-7-0-0-0-ph42762
  • ibm-was-install-8-0-0-0-ph42762
  • ibm-was-install-8-5-0-0-ph42762
  • ibm-was-install-8-5-ph42762-liberty
  • ibm-was-install-9-0-0-0-ph42762
  • ibm-was-upgrade-8-5-0-0-8-5-5-21
  • ibm-was-upgrade-8-5-22-0-0-1-liberty
  • ibm-was-upgrade-9-0-0-0-9-0-5-11

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;