SecurityContext

CVE-2023-30628: Kiwi TCMS - Command Injection

  • Cve: CVE-2023-30628
  • Name: Kiwi TCMS - Command Injection
  • Description: Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and kiwitcms/enterprise v12.2 and prior, the `changelog.yml` workflow is vulnerable to command injection attacks because of using an untrusted `github.head_ref` field. The `github.head_ref` value is an attacker-controlled value. Assigning the value to `zzz";echo${IFS}"hello";#` can lead to command injection. Since the permission is not restricted, the attacker has a write-access to the repository. Commit 834c86dfd1b2492ccad7ebbfd6304bfec895fed2 of the kiwitcms/Kiwi repository and commit e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751 of the kiwitcms/enterprise repository contain a fix for this issue.
  • Impact: Attackers with write access can execute arbitrary commands on the server, potentially leading to full system compromise.
  • Remediation: Update to versions after the commits 834c86dfd1b2492ccad7ebbfd6304bfec895fed2 (Kiwi) and e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751 (enterprise).
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs write access to the repository
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03596
  • Epss percentile: 0.89737
  • Assignee: [email protected]
  • Published at: 2023-04-24T22:15:09Z
  • Age in days: 1310
  • Modified at: 2026-06-17T05:55:11Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-30628
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://securitylab.github.com/research/github-actions-untrusted-input/nvd2023-04-24

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/kiwitcms/Kiwi/commit/834c86dfd1b2492ccad7ebbfd6304bfec895fed2Patch
https://github.com/kiwitcms/enterprise/commit/e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751Patch
https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-cw6r-6ccx-5hwxVendor Advisory
https://securitylab.github.com/research/github-actions-untrusted-input/Exploit, Third Party Advisory
https://github.com/kiwitcms/Kiwi/blob/37bfb87696093ce0393160e2725949185cc0651d/.github/workflows/changelog.yml#L18Product

Products

ProductAffectedPlatform boundSourcesUrl
kiwitcms:kiwi_tcms<= 12.2nonvd/v1/products/kiwitcms/kiwi_tcms

Projects

RepositoryLink kindsIndexedUrl
kiwitcms/Kiwicommit, security_advisoryyes/v1/repositories/kiwitcms/Kiwi
kiwitcms/enterprisecommityes/v1/repositories/kiwitcms/enterprise

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-04-24
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 7
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports