Rancher Recreates Default User With Known Password Despite Deletion
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/rancher/rancher Go |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| github.com/rancher/rancher Go |
|
|
An issue was discovered that affects the following versions of Rancher: v2.0.0 through v2.0.13, v2.1.0 through v2.1.8, and v2.2.0 through 2.2.1. When Rancher starts for the first time, it creates a default admin user with a well-known password. After initial setup, the Rancher administrator may choose to delete this default admin user. If Rancher is restarted, the default admin user will be recreated with the well-known default password. An attacker could exploit this by logging in with the default admin credentials. This can be mitigated by deactivating the default admin user rather than completing deleting them.
From the CVE record · mitre
Affected Rancher versions recreate the default admin user with a well-known password on restart if an administrator deleted that user after initial setup. An attacker who can reach the Rancher login can then use the default credentials to gain admin access; no victim interaction is required.
Anyone running Rancher v2.0.0–v2.0.13, v2.1.0–v2.1.8, or v2.2.0–v2.2.1 should check their deployment.