Lucene search

K
githubGitHub Advisory DatabaseGHSA-9WH7-397J-722M
HistoryApr 26, 2023 - 7:46 p.m.

Ironic and ironic-inspector may expose as ConfigMaps

2023-04-2619:46:00
CWE-200
CWE-319
GitHub Advisory Database
github.com
7
ironic
ironic-inspector
baremetal operator
plain-text credentials
configmaps
secrets
etcd storage
patch
workaround

CVSS3

6

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0

Percentile

9.0%

Impact

Ironic and ironic-inspector deployed within Baremetal Operator using the included deploy.sh store their .htpasswd files as ConfigMaps instead of Secrets. This causes the plain-text username and hashed password to be readable by anyone having a cluster-wide read-access to the management cluster, or access to the management cluster’s Etcd storage.

Patches

This issue is patched in baremetal-operator PR#1241, and is included in BMO release 0.3.0 onwards.

Workarounds

User may modify the kustomizations and redeploy the BMO, or recreate the required ConfigMaps as Secrets per instructions in baremetal-operator PR#1241

Affected configurations

Vulners
Node
linuxfoundationbaremetal_operatorRange<0.3.0
VendorProductVersionCPE
linuxfoundationbaremetal_operator*cpe:2.3:a:linuxfoundation:baremetal_operator:*:*:*:*:*:*:*:*

CVSS3

6

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0

Percentile

9.0%