CVE-2023-30623
GitHub Action embano1/wip Command Injection Vulnerability
Description
`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.
INFO
Published Date :
April 24, 2023, 10:15 p.m.
Last Modified :
Nov. 21, 2024, 8 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-30623
.
URL | Resource |
---|---|
https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2 | Patch |
https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp | Vendor Advisory |
https://securitylab.github.com/research/github-actions-untrusted-input/ | Exploit Third Party Advisory |
https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2 | Patch |
https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp | Vendor Advisory |
https://securitylab.github.com/research/github-actions-untrusted-input/ | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-30623
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-30623
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2 Added Reference https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp Added Reference https://securitylab.github.com/research/github-actions-untrusted-input/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
May. 04, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2 No Types Assigned https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2 Patch Changed Reference Type https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp No Types Assigned https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp Vendor Advisory Changed Reference Type https://securitylab.github.com/research/github-actions-untrusted-input/ No Types Assigned https://securitylab.github.com/research/github-actions-untrusted-input/ Exploit, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:wip_project:wip:*:*:*:*:*:*:*:* versions up to (excluding) 2.0.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-30623
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-30623
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.34 }} -2.45%
score
0.78881
percentile