Clusterlabs Hawk up to 2.3.0-15 tools/hawk_invoke.c command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.6 | $0-$5k | 0.00 |
Summary
A vulnerability classified as very critical has been found in Clusterlabs Hawk up to 2.3.0-15. Impacted is an unknown function of the file tools/hawk_invoke.c. The manipulation leads to an unknown weakness. This vulnerability is documented as CVE-2021-3020. The attack can be initiated remotely. There is not any exploit available. It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in Clusterlabs Hawk up to 2.3.0-15 and classified as very critical. This issue affects some unknown processing of the file tools/hawk_invoke.c. Using CWE to declare the problem leads to CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was released 08/26/2022 as c538024b8ebd138dc373b005189471d9b77e9c82. It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2021-3020 since 01/05/2021. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 10/02/2022). The attack technique deployed by this issue is T1202 according to MITRE ATT&CK.
Applying the patch c538024b8ebd138dc373b005189471d9b77e9c82 is able to eliminate this problem. The bugfix is ready for download at github.com.
Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.8VulDB Meta Temp Score: 8.6
VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Command injectionCWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: c538024b8ebd138dc373b005189471d9b77e9c82
Timeline
01/05/2021 🔍08/26/2022 🔍
08/26/2022 🔍
10/02/2022 🔍
Sources
Advisory: c538024b8ebd138dc373b005189471d9b77e9c82Status: Confirmed
CVE: CVE-2021-3020 (🔍)
GCVE (CVE): GCVE-0-2021-3020
GCVE (VulDB): GCVE-100-207311
Entry
Created: 08/26/2022 08:55Updated: 10/02/2022 06:31
Changes: 08/26/2022 08:55 (40), 10/02/2022 06:31 (12)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.