Lucene search

K
cvelistGitHub_MCVELIST:CVE-2023-47640
HistoryNov 14, 2023 - 8:55 p.m.

CVE-2023-47640 Insecure Use of HMAC-SHA1 For Session Signing in datahub

2023-11-1420:55:02
CWE-327
GitHub_M
www.cve.org
2
datahub
insecure session signing
hmac-sha1
upgrade
vulnerability
session token
privileged session cookie
play legacycookiesmodule
helm chart
secret key length

CVSS3

6.4

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

HIGH

Availability Impact

LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L

AI Score

8.6

Confidence

High

EPSS

0.001

Percentile

19.3%

DataHub is an open-source metadata platform. The HMAC signature for DataHub Frontend sessions was being signed using a SHA-1 HMAC with the frontend secret key. SHA1 with a 10 byte key can be brute forced using sufficient resources (i.e. state level actors with large computational capabilities). DataHub Frontend was utilizing the Play LegacyCookiesModule with default settings which utilizes a SHA1 HMAC for signing. This is compounded by using a shorter key length than recommended by default for the signing key for the randomized secret value. An authenticated attacker (or attacker who has otherwise obtained a session token) could crack the signing key for DataHub and obtain escalated privileges by generating a privileged session cookie. Due to key length being a part of the risk, deployments should update to the latest helm chart and rotate their session signing secret. All deployments using the default helm chart configurations for generating the Play secret key used for signing are affected by this vulnerability. Version 0.11.1 resolves this vulnerability. All users are advised to upgrade. There are no known workarounds for this vulnerability.

CNA Affected

[
  {
    "vendor": "datahub-project",
    "product": "datahub",
    "versions": [
      {
        "version": "< 0.11.1",
        "status": "affected"
      }
    ]
  }
]

CVSS3

6.4

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

HIGH

Availability Impact

LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L

AI Score

8.6

Confidence

High

EPSS

0.001

Percentile

19.3%

Related for CVELIST:CVE-2023-47640