CVE-2021-3020
This allows the hacluster user to invoke certain commands as root (with an attempt to limit this to safe combinations).
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.23%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.23% probability · 67th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-269
- Affected
- clusterlabs/hawk
- Source
- cve@mitre.org
References
- https://bugzilla.suse.com/show_bug.cgi?id=1180571Permissions Required
- https://github.com/ClusterLabs/crmsh/commit/c538024b8ebd138dc373b005189471d9b77e9c82Patch, Third Party Advisory
- https://github.com/ClusterLabs/hawk/releasesRelease Notes, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1180571Permissions Required
- https://github.com/ClusterLabs/crmsh/commit/c538024b8ebd138dc373b005189471d9b77e9c82Patch, Third Party Advisory
- https://github.com/ClusterLabs/hawk/releasesRelease Notes, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.