module

Rancher Authenticated API Credential Exposure

Disclosed
Aug 18, 2022
Created
Apr 19, 2024

Description

An issue was discovered in Rancher versions up to and including
2.5.15 and 2.6.6 where sensitive fields, like passwords, API keys
and Ranchers service account token (used to provision clusters),
were stored in plaintext directly on Kubernetes objects like Clusters,
for example cluster.management.cattle.io. Anyone with read access to
those objects in the Kubernetes API could retrieve the plaintext
version of those sensitive data.

Authors

h00die
Florian Struck
Marco Stuurman

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use auxiliary/gather/rancher_authenticated_api_cred_exposure
msf auxiliary(rancher_authenticated_api_cred_exposure) > show actions
...actions...
msf auxiliary(rancher_authenticated_api_cred_exposure) > set ACTION < action-name >
msf auxiliary(rancher_authenticated_api_cred_exposure) > show options
...show and set options...
msf auxiliary(rancher_authenticated_api_cred_exposure) > run

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.