CVE-2023-34111
Tdengine Grafana vulnerability
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.
Affected products
Grafana. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Tdengine Grafana runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr · Exploit
- securitylab.github.com/research/github-actions-untrusted-input/ · Exploit
- github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25
- nvd.nist.gov/vuln/detail/CVE-2023-34111
- cve.org/CVERecord?id=CVE-2023-34111
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.