4.7medium
Rancher Login Parameter Can Be Edited
- Severity
- 4.7medium CVSS:3.0 by NVD
- Exploit likelihood
- 1.97% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-2p4g-jrmx-r34mGO-2024-2761
Description
A vulnerability exists in Rancher before 2.2.4 in the login component, where the errorMsg parameter can be tampered to display arbitrary content, filtering tags but not special characters or symbols. There's no other limitation of the message, allowing malicious users to lure legitimate users to visit phishing sites with scare tactics, e.g., displaying a "This version of Rancher is outdated, please visit https://malicious.rancher.site/upgrading" message.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/rancher/rancher (Go) | up to 2.1.4, all versions | GitHub Advisory Database, Go Vulnerability Database |
| suse rancher | 2.1.4 | NVD |
All scores
| GitHub | 4.7medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| NVD | 4.7medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
What each source says
CVE List
A vulnerability exists in Rancher before 2.2.4 in the login component, where the errorMsg parameter can be tampered to display arbitrary content, filtering tags but not special characters or symbols. There's no other limitation of the message, allowing malicious users to lure legitimate users to visit phishing sites with scare tactics, e.g., displaying a "This version of Rancher is outdated, please visit https://malicious.rancher.site/upgrading" message.
GitHub Advisory Database
A vulnerability exists in Rancher 2.1.4 in the login component, where the errorMsg parameter can be tampered to display arbitrary content, filtering tags but not special characters or symbols. There's no other limitation of the message, allowing malicious users to lure legitimate users to visit phishing sites with scare tactics, e.g., displaying a "This version of Rancher is outdated, please visit https://malicious.rancher.site/upgrading" message.
PoC
- Access the following endpoint on any Rancher instance up to 2.1.4:
https://RANCHER:PORT/login?errorMsg=%68%74%74%70%73%3a%2f%2f%77%77%77%2e%6f%77%61%73%70%2e%6f%72%67%2f%69%6e%64%65%78%2e%70%68%70%2f%57%65%62%5f%50%61%72%61%6d%65%74%65%72%5f%54%61%6d%70%65%72%69%6e%67
It will display a link to OWASP Wiki explaining Web Parameter Tampering.
Go Vulnerability Database
Rancher Login Parameter Can Be Edited in github.com/rancher/rancher
NVD (es)
Existe una vulnerabilidad Rancher 2.1.4 en el componente de inicio de sesión, donde el parámetro errorMsg puede ser manipularse para mostrar contenido arbitrario, filtrando etiquetas pero caracteres especiales o símbolos. No hay otra limitación del mensaje, permitiendo a usuarios maliciosos atraer a usuarios para visitar con tácticas de miedo. por ejemplo, mostrando un mensaje "Esta versión de Rancher está desactualizada, visite https://malicious.rancher.site/upgrading" .
References
| https://github.com/MauroEldritch/VanCleef | third-party-advisory, web | |
| https://github.com/rancher/rancher/issues/20216 | exploit, issue-tracking, report, third-party-advisory, web | |
| https://github.com/rancher/rancher/commit/e59adbc7565251919d84d6e353421104be8da06e | web | |
| https://github.com/rancher/rancher/blob/v2.2.4/pkg/auth/providers/saml/saml_client.go#L282 | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-11881 | advisory | |
| https://github.com/rancher/rancher | package | |
| https://github.com/advisories/GHSA-2p4g-jrmx-r34m | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-11881 changed 2024-12-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2p4g-jrmx-r34m changed 2024-12-04 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2761 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2019-11881 changed 2026-06-17 | Public domain |