# CVE-2019-11881: Rancher Login Parameter Can Be Edited


- **Severity:** Medium 4.7 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 10 Jun 2019
- **Updated:** 4 Dec 2024
- **Also known as:** GHSA-2p4g-jrmx-r34m, GO-2024-2761

## What is CVE-2019-11881?

CVE-2019-11881 is a medium-severity vulnerability in n/a, published on 10 Jun 2019. 

### Official 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.

## Which versions are affected by CVE-2019-11881?

3 open source packages ship an affected version, including github.com/rancher/rancher. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/rancher/rancher` | Go | All versions | None |
| `github.com/rancher/rancher` | Go | All versions to 2.1.4 | None |
| `github.com/rancher/rancher` | Go | All versions to 2.1.4 | None |

Products: Suse Rancher.

## How do I fix CVE-2019-11881?

No fix has been published for CVE-2019-11881 yet. Limit exposure of the affected software until one is available.

## Is CVE-2019-11881 being exploited?

There is no known exploitation of CVE-2019-11881 in the wild and no public exploit code.

Public exploit code:

- Exploit for CVE-2019-11881 (Rancher 2.1.4 Web Parameter Tampering) (github_poc): https://github.com/MauroEldritch/VanCleef

## Other vulnerabilities in n/a

- [CVE-2023-22647](https://insights.sbomify.com/CVE-2023-22647/): Rancher vulnerable to Privilege Escalation via manipulation of Secrets (critical 9.9)
- [CVE-2023-22651](https://insights.sbomify.com/CVE-2023-22651/): Rancher Webhook is misconfigured during upgrade process (critical 9.9)
- [CVE-2022-43757](https://insights.sbomify.com/CVE-2022-43757/): Rancher: Exposure of sensitive fields (critical 9.9)
- [CVE-2021-36782](https://insights.sbomify.com/CVE-2021-36782/): Rancher: Plaintext storage and exposure of credentials in Rancher API and cluster.management.cattle.io object (critical 9.9)
- [CVE-2021-36783](https://insights.sbomify.com/CVE-2021-36783/): Rancher: Failure to properly sanitize credentials in cluster template answers (critical 9.9)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-11881 and fix it if it is affected.

What it is: CVE-2019-11881 is a medium-severity vulnerability in n/a, published on 10 Jun 2019. 
Exploitation: There is no known exploitation of CVE-2019-11881 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/rancher/rancher (Go): affected all versions; no fix listed
- github.com/rancher/rancher (Go): affected all versions up to 2.1.4; no fix listed
- github.com/rancher/rancher (Go): affected all versions up to 2.1.4; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2019-11881/ (Markdown: https://insights.sbomify.com/CVE-2019-11881/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2019-11881
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2019-11881
- OSV: https://osv.dev/vulnerability/CVE-2019-11881

---
From sbomify Insights: https://insights.sbomify.com/CVE-2019-11881/
Summaries are generated and may contain mistakes; the official description above is the record.
