An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the binary hawk_invoke (built from tools/hawk_invoke.c), intended to be used as a setuid program. This allows the hacluster user to invoke certain commands as root (with an attempt to limit this to safe combinations). This user is able to execute an interactive "shell" that isn't limited to the commands specified in hawk_invoke, allowing escalation to root.
References
Link | Resource |
---|---|
https://bugzilla.suse.com/show_bug.cgi?id=1180571 | Permissions Required |
https://github.com/ClusterLabs/crmsh/commit/c538024b8ebd138dc373b005189471d9b77e9c82 | Patch Third Party Advisory |
https://github.com/ClusterLabs/hawk/releases | Release Notes Third Party Advisory |
https://bugzilla.suse.com/show_bug.cgi?id=1180571 | Permissions Required |
https://github.com/ClusterLabs/crmsh/commit/c538024b8ebd138dc373b005189471d9b77e9c82 | Patch Third Party Advisory |
https://github.com/ClusterLabs/hawk/releases | Release Notes Third Party Advisory |
Configurations
History
21 Nov 2024, 06:20
Type | Values Removed | Values Added |
---|---|---|
References | () https://bugzilla.suse.com/show_bug.cgi?id=1180571 - Permissions Required | |
References | () https://github.com/ClusterLabs/crmsh/commit/c538024b8ebd138dc373b005189471d9b77e9c82 - Patch, Third Party Advisory | |
References | () https://github.com/ClusterLabs/hawk/releases - Release Notes, Third Party Advisory |
08 Aug 2023, 14:22
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-269 |
Information
Published : 2022-08-26 00:15
Updated : 2024-11-21 06:20
NVD link : CVE-2021-3020
Mitre link : CVE-2021-3020
CVE.ORG link : CVE-2021-3020
JSON object : View
Products Affected
clusterlabs
- hawk
CWE
CWE-269
Improper Privilege Management