CVE-2023-30623
Wip Project Wip vulnerability
`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.
Affected products
Wip. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Wip Project Wip runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/embano1/wip/security/advisories/GHSA-rg3q-prf8-qxmp · Vendor Advisory
- github.com/embano1/wip/commit/c25450f77ed02c20d00b76ee3b33ff43838739a2 · Patch
- securitylab.github.com/research/github-actions-untrusted-input/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-30623
- cve.org/CVERecord?id=CVE-2023-30623
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.