CVE-2023-30623

`embano1/wip` is a GitHub Action written in Bash. Prior to version 2, the `embano1/wip` action uses the `github.event.pull_request.title` parameter in an insecure way. The title parameter is used in a run statement - resulting in a command injection vulnerability due to string interpolation. This vulnerability can be triggered by any user on GitHub. They just need to create a pull request with a commit message containing an exploit. (Note that first-time PR requests will not be run - but the attacker can submit a valid PR before submitting an invalid PR). The commit can be genuine, but the commit message can be malicious. This can be used to execute code on the GitHub runners and can be used to exfiltrate any secrets used in the CI pipeline, including repository tokens. Version 2 has a fix for this issue.
Configurations

Configuration 1 (hide)

cpe:2.3:a:wip_project:wip:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:00

Type Values Removed Values Added
References () https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2 - Patch () https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2 - Patch
References () https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp - Vendor Advisory () https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp - Vendor Advisory
References () https://securitylab.github.com/research/github-actions-untrusted-input/ - Exploit, Third Party Advisory () https://securitylab.github.com/research/github-actions-untrusted-input/ - Exploit, Third Party Advisory

Information

Published : 2023-04-24 22:15

Updated : 2024-11-21 08:00


NVD link : CVE-2023-30623

Mitre link : CVE-2023-30623

CVE.ORG link : CVE-2023-30623


JSON object : View

Products Affected

wip_project

  • wip
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')