RCE in Taosdata Grafanaplugin
CVE-2023-34111
- CVSS v3
- 8.1 High
- Public exploits
- None known
- EPSS
- 0.040 · 90.9th percentile
- Published
- 2023-06-06
The `Release PR Merged` workflow in the github repo taosdata/grafanaplugin is subject to a command injection vulnerability which allows for arbitrary code execution within the github action context due to the insecure usage of `${{ github.event.pull_request.title }}` in a bash command within the GitHub workflow. Attackers can inject malicious commands which will be executed by the workflow. This happens because `${{ github.event.pull_request.title }}` is directly passed to bash command on like 25 of the workflow. This may allow an attacker to gain access to secrets which the github action has access to or to otherwise make use of the compute resources.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.040, 90.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Taosdata Grafanaplugin — versions <= 2e4c82b002
- Tdengine Grafana
Weakness classification (CWE)
References
- https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr (Exploit, Third Party Advisory)
- https://github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25 (Product)
- https://securitylab.github.com/research/github-actions-untrusted-input/ (Exploit, Third Party Advisory)