CVE-2019-11881: Github.com/rancher/rancher Rancher Login Parameter Can Be Vulnerability
MODERATECVE-2019-11881 is a MODERATE (CVSS 4.7) rancher login parameter can be vulnerability (General Security Weakness) affecting Github.com/rancher/rancher libraries in the Go ecosystem. The issue involves rancher login parameter can be edited. Remediation is available in the latest vendor maintenance releases.
CVE-2019-11881 at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N).
How to Fix CVE-2019-11881
To remediate this vulnerability, upgrade all affected Github.com/rancher/rancher dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/rancher/rancher to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/rancher/rancher
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-11881, inspect your project dependencies for Github.com/rancher/rancher:
inspect dependencies for github.com/rancher/rancher
Analyze the terminal output to locate any version of Github.com/rancher/rancher in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Github.com/rancher/rancher, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-11881 Affected Github.com/rancher/rancher Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/rancher/rancher
|
Go |
≤ 2.1.4
|
|
References
Frequently Asked Questions
What is CVE-2019-11881?
Which Github.com/rancher/rancher versions are affected?
What version fixes CVE-2019-11881?
Is github.com/rancher/rancher affected?
What is the CVSS score of CVE-2019-11881?
What CWE is associated with CVE-2019-11881?
How can I check Go dependencies for CVE-2019-11881?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2p4g-jrmx-r34m",
"modified" : "2024-12-04T16:23:15Z",
"published" : "2022-05-24T16:47:41Z",
"aliases" : [ "CVE-2019-11881" ],
"summary" : "Rancher Login Parameter Can Be Edited",
"details" : "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.\n\n**PoC**\n1. 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`\n\nIt will display a [link](https://www.owasp.org/index.php/Web_Parameter_Tampering) to OWASP Wiki explaining Web Parameter Tampering.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/rancher/rancher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11881"
}, {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/issues/20216"
}, {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/commit/e59adbc7565251919d84d6e353421104be8da06e"
}, {
"type" : "WEB",
"url" : "https://github.com/MauroEldritch/VanCleef"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rancher/rancher"
}, {
"type" : "WEB",
"url" : "https://github.com/rancher/rancher/blob/v2.2.4/pkg/auth/providers/saml/saml_client.go#L282"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T21:39:43Z",
"nvd_published_at" : "2019-06-10T20:29:00Z"
}
}