#VU51457 Improper Privilege Management in crmsh - CVE-2020-35459


Vulnerability identifier: #VU51457

Vulnerability risk: Low

CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2020-35459

CWE-ID: CWE-269

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
crmsh
Client/Desktop applications / Software for system administration

Vendor: ClusterLabs

Description

The vulnerability allows a local user to escalate privileges.

The vulnerability exists due to improper privilege management. A local user can call "crm history" (when "crm" is run) and execute commands via shell code injection to the crm history commandline, potentially allowing escalation of privileges.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

crmsh: 1.2.0 - 4.2.1


External links
https://www.openwall.com/lists/oss-security/2021/01/12/3
https://bugzilla.suse.com/show_bug.cgi?id=1179999
https://github.com/ClusterLabs/crmsh/blob/a403aa15f3ea575adfe5e43bf2a31c9f9094fcda/crmsh/history.py#L476
https://github.com/ClusterLabs/crmsh/releases
https://lists.debian.org/debian-lts-announce/2021/01/msg00021.html
https://www.openwall.com/lists/oss-security/2021/01/12/3


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability