Lucene search

K
cvelistApacheCVELIST:CVE-2021-28131
HistoryJul 22, 2021 - 10:05 a.m.

CVE-2021-28131 Impala logs contain secrets

2021-07-2210:05:13
CWE-288
apache
www.cve.org
4
impala
session hijack
privilege escalation
apache sentry
apache ranger
audit logging
log redaction

EPSS

0.002

Percentile

64.7%

Impala sessions use a 16 byte secret to verify that the session is not being hijacked by another user. However, these secrets appear in the Impala logs, therefore Impala users with access to the logs can use another authenticated user’s sessions with specially constructed requests. This means the attacker is able to execute statements for which they don’t have the necessary privileges otherwise. Impala deployments with Apache Sentry or Apache Ranger authorization enabled may be vulnerable to privilege escalation if an authenticated attacker is able to hijack a session or query from another authenticated user with privileges not assigned to the attacker. Impala deployments with audit logging enabled may be vulnerable to incorrect audit logging as a user could undertake actions that were logged under the name of a different authenticated user. Constructing an attack requires a high degree of technical sophistication and access to the Impala system as an authenticated user. Mitigation: If an Impala deployment uses Apache Sentry, Apache Ranger or audit logging, then users should upgrade to a version of Impala with the fix for IMPALA-10600. The Impala 4.0 release includes this fix. This hides session secrets from the logs to eliminate the risk of any attack using this mechanism. In lieu of an upgrade, restricting access to logs that expose secrets will reduce the risk of an attack. Restricting access to the Impala deployment to trusted users will also reduce the risk of an attack. Log redaction techniques can be used to redact secrets from the logs.

CNA Affected

[
  {
    "product": "Apache Impala",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "lessThanOrEqual": "3.4.0",
        "status": "affected",
        "version": "Apache Impala",
        "versionType": "custom"
      }
    ]
  }
]

EPSS

0.002

Percentile

64.7%

Related for CVELIST:CVE-2021-28131