CVE-2021-45458: Apache Kylin: Hardcoded credentials

Related Vulnerabilities: CVE-2021-45458  
                							

                <!--X-Body-Begin-->
<!--X-User-Header-->

oss-sec
mailing list archives
<!--X-User-Header-End-->
<!--X-TopPNI-->

By Date

By Thread

</form>

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
CVE-2021-45458: Apache Kylin: Hardcoded credentials

<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->

From: "Xiaoxiang Yu" &lt;xxyu () apache org&gt;

Date: Thu, 6 Jan 2022 19:54:46 +0800 (CST)

<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->

<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
Severity: moderate

Description:

Apache Kylin provides encryption classes PasswordPlaceholderConfigurer to help users encrypt their passwords. In the 
encryption algorithm used by this encryption class, the cipher is initialized with a hardcoded key and IV.  If users 
use class PasswordPlaceholderConfigurer to encrypt their password and configure it into kylin's configuration file, 
there is a risk that the password may be decrypted.
This issue affects Apache Kylin Apache Kylin 2 version 2.6.6 and prior versions; Apache Kylin 3 version 3.1.2 and prior 
versions; Apache Kylin 4 version 4.0.0 and prior versions.

Mitigation:

Users of Kylin 2.x &amp; Kylin 3.x should upgrade to 3.1.3 or apply patch https://github.com/apache/kylin/pull/1782.
Users of Kylin 4.x should upgrade to 4.0.1 or apply patch https://github.com/apache/kylin/pull/1781.

After upgrading, users can configure the value of `kylin.security.encrypt.cipher.ivSpec` in kylin.properties for 
encryption algorithm, and then re-encrypt the password they need to encrypt.

Credit:

Alvaro Munoz 

--

Best wishes to you ! 
From :Xiaoxiang Yu
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->

<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->

By Date

By Thread

Current thread:

CVE-2021-45458: Apache Kylin: Hardcoded credentials Xiaoxiang Yu (Jan 06)

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->