title: Apache Kylin: Insufficiently protected credentials in config file
description: In Apache Kylin version 2.0.0 to 4.0.3, there is a Server Config web interface that displays the content of file 'kylin.properties', that may contain serverside credentials. When the kylin service runs over HTTP (or other plain text protocol), it is possible for network sniffers to hijack the HTTP payload and get access to the content of kylin.properties and potentially the containing credentials.
To avoid this threat, users are recommended to
*  Always turn on HTTPS so that network payload is encrypted.
*  Avoid putting credentials in kylin.properties, or at least not in plain text.
*  Use network firewalls to protect the serverside such that it is not accessible to external attackers.
*  Upgrade to version Apache Kylin 4.0.4, which filters out the sensitive content that goes to the Server Config web interface.
problem types: CWE-522 Insufficiently Protected Credentials
affected:
{
defaultStatus: unaffected
product: Apache Kylin
vendor: Apache Software Foundation
versions:
lessThanOrEqual: 4.0.3, status: affected, version: 2.0.0, versionType: semver
}
metrics:
other: [
content: {'text': 'low'}
type: Textual description of severity
]