#VU51457 Improper Privilege Management in crmsh


Published: 2021-03-15

Vulnerability identifier: #VU51457

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

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
http://www.openwall.com/lists/oss-security/2021/01/12/3
http://bugzilla.suse.com/show_bug.cgi?id=1179999
http://github.com/ClusterLabs/crmsh/blob/a403aa15f3ea575adfe5e43bf2a31c9f9094fcda/crmsh/history.py#L476
http://github.com/ClusterLabs/crmsh/releases
http://lists.debian.org/debian-lts-announce/2021/01/msg00021.html
http://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