CVE-2019-11881
MEDIUM4.7EPSS 5.2%Rancher Login Parameter Can Be Edited
描述
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** 1. 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](https://www.owasp.org/index.php/Web_Parameter_Tampering) to OWASP Wiki explaining Web Parameter Tampering.
受影響套件(2)
- Go/github.com/rancher/rancherfrom 0, <= 2.1.4
- Go/github.com/rancher/rancherfrom 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
參考連結(7)
- ADVISORYhttps://github.com/advisories/GHSA-2p4g-jrmx-r34m
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-11881
- PATCHhttps://github.com/rancher/rancher
- WEBhttps://github.com/MauroEldritch/VanCleef
- WEBhttps://github.com/rancher/rancher/blob/v2.2.4/pkg/auth/providers/saml/saml_client.go#L282
- WEBhttps://github.com/rancher/rancher/commit/e59adbc7565251919d84d6e353421104be8da06e
- WEBhttps://github.com/rancher/rancher/issues/20216