An issue was discovered in ClusterLabs crmsh through 4.2.1. Local attackers able to call "crm history" (when "crm" is run) were able to execute commands via shell code injection to the crm history commandline, potentially allowing escalation of privileges.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://bugzilla.suse.com/show_bug.cgi?id=1179999 | third party advisory issue tracking |
https://github.com/ClusterLabs/crmsh/releases | third party advisory release notes |
https://www.openwall.com/lists/oss-security/2021/01/12/3 | mailing list third party advisory exploit |
https://github.com/ClusterLabs/crmsh/blob/a403aa15f3ea575adfe5e43bf2a31c9f9094fcda/crmsh/history.py#L476 | third party advisory patch |
http://www.openwall.com/lists/oss-security/2021/01/12/3 | patch mailing list third party advisory |
https://lists.debian.org/debian-lts-announce/2021/01/msg00021.html | third party advisory mailing list |