UrbanCode Build

CVE-2021-44228 aka log4shell and UrbanCode Build Security Bulletin Information

Security Bulletin: CVE-2021-4104 CVE-2021-44228 CVE-2019-17571 IBM UCB server releases before 6.1.7.2 are impacted by CVE-2021-4104 (a weaker variant of CVE-2021-44228) 

Summary:  

IBM UCB server releases before 6.1.7.2 are impacted by CVE-2021-4104 (a weaker variant of CVE-2021-44228). The product uses log4j 1.2 which lacks the features need to construct the most dangerous form of the exploit. It does have an exploitable weakness that requires administrative access to exploit. Releases 6.1.7.2 or greater are not vulnerable to any variant of CVE-2021-44228. CVE-2021-4104 (the weaker variant of CVE-2021-44228 that affects log4j 1.2) requires a logging configuration change to exploit. This requires administrative access to the Settings screen to gain further privilege

Vulnerability Details:

CVEID:   CVE-2021-4104
DESCRIPTION:   Apache Log4j could allow a remote attacker to execute arbitrary code on the system, caused by the deserialization of untrusted data when the attacker has write access to the Log4j configuration. If the deployed application is configured to use JMSAppender, an attacker could exploit this vulnerability to execute arbitrary code on the system.
CVSS Base score: 8.1
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/215048 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)

CVEID:   CVE-2019-17571
DESCRIPTION:   Apache Log4j could allow a remote attacker to execute arbitrary code on the system, caused by improper deserialization of untrusted data in SocketServer. By sending a specially-crafted request, an attacker could exploit this vulnerability to execute arbitrary code on the system.
CVSS Base score: 9.8
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/173314 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

CVEID:   CVE-2021-44228
DESCRIPTION:   Apache Log4j could allow a remote attacker to execute arbitrary code on the system, caused by the failure to protect against attacker controlled LDAP and other JNDI related endpoints by JNDI features. By sending a specially crafted code string, an attacker could exploit this vulnerability to load arbitrary Java code on the server and take complete control of the system.Note: The vulnerability is also called Log4Shell or LogJam.
CVSS Base score: 10
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/214921 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)

Affected Products and Versions: 

Affected Product(s) Version(s)
UCB – IBM UrbanCode Build 6.1.7.1
UCB – IBM UrbanCode Build 6.1.7.0
UCB – IBM UrbanCode Build 6.1.6.x
UCB – IBM UrbanCode Build 6.1.x

Remediation/Fixes:  

Starting in 6.1.7.2, we have fixed this issue as a side-effect of fixing another CVE (CVE-2019-17571) by removing all networked “appenders”, which include removal of the “JMSAppender” that is subject to CVE-2021-4104. For previous versions of UCB, we can disable JMS appender configuration if it is enabled (By default it is not enabled).

Workarounds and Mitigations:  

It is always recommended to try these steps on test/staging environment before applying to production. Ensure to take instance backup.

For versions below 6.1.7.2, we can disable JMS appender configuration if it is enabled in the configuration file log4j.properties (By default it is not enabled).

Please ensure to stop/start services accordingly.

Reference:

Complete CVSS v3.1 Guide

On-line Calculator v3

CVE-2021-4104 https://nvd.nist.gov/vuln/detail/CVE-2021-4104 ( https://access.redhat.com/security/cve/CVE-2021-4104 )
CVE-2021-44228 https://nvd.nist.gov/vuln/detail/CVE-2021-44228
CVE-2019-17571 https://nvd.nist.gov/vuln/detail/CVE-2019-17571

Related Information:

IBM Secure Engineering Web Portal

IBM Product Security Incident Response Blog

Change History:

13 Dec 2021: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer:

According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an “industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response.” IBM PROVIDES THE CVSS SCORES “”AS IS”” WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.

Tags: