CVE-2023-34111: taosdata/grafanaplugin - Command Injection
- Cve: CVE-2023-34111
- Name: taosdata/grafanaplugin - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands, potentially accessing secrets or compromising the workflow environment.
- Remediation: Sanitize or validate '${{ github.event.pull_request.title }}' before use; avoid passing untrusted input directly to bash commands.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to control the pull request title
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.04049
- Epss percentile: 0.90892
- Assignee: [email protected]
- Published at: 2023-06-06T17:15:15Z
- Age in days: 1267
- Modified at: 2026-06-17T06:02:55Z
- Public exploits total: 2
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-34111
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr | nvd | 2023-06-06 |
| https://securitylab.github.com/research/github-actions-untrusted-input/ | nvd | 2023-06-06 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr | Exploit, Third Party Advisory |
| https://securitylab.github.com/research/github-actions-untrusted-input/ | Exploit, Third Party Advisory |
| https://github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25 | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tdengine:grafana | <= 2023-05-22 | no | nvd | /v1/products/tdengine/grafana |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| taosdata/grafanaplugin | security_advisory | yes | /v1/repositories/taosdata/grafanaplugin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2023-06-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts