Privilege escalation in ClusterLabs crmsh



Published: 2021-01-12 | Updated: 2021-03-15
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-35459
CWE-ID CWE-269
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
crmsh
Client/Desktop applications / Software for system administration

Vendor ClusterLabs

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Improper Privilege Management

EUVDB-ID: #VU51457

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 - Improper Privilege Management

Exploit availability: No

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.



###SIDEBAR###