CVE-2023-34111 Command Injection Vulnerability in `Release PR Merged` Workflow in taosdata/grafanaplugin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| tdengine grafana | <= 2023-05-22 | after 2023-05-22 | Fixed |
| taosdata grafanaplugin | = <= 2e4c82b002 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| taosdata grafanaplugin | = <= 2e4c82b002 | No fix listed |
| tdengine grafana | <= 2023-05-22 | No fix listed |
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