CVE-2023-30623
What it is
`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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.7% in the next 30 days (EPSS).
- Severity: 8.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.7% · EPSS, next 30 days
- Weakness
- CWE-77 · Command injection
- Record status
- Modified
Affected
- Wip Project Wip < 2.0.0
Attack profile CVSS 3.1 · 8.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-30623.md and follow it. Check whether this project is affected by CVE-2023-30623. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2
- https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp
- https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2
- https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp
References
- https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2
- https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp
- https://securitylab.github.com/research/github-actions-untrusted-input/
- https://github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2
- https://github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp
- https://securitylab.github.com/research/github-actions-untrusted-input/