WilderForge
WilderForge vulnerable to code Injection via GitHub Actions Workflows
WilderForge is a Wildermyth coremodding API. A critical vulnerability has been identified in multiple projects across the WilderForge organization. The issue arises from unsafe usage of `${{ github.event.review.body }}` and other user controlled variables directly inside shell script contexts in GitHub Actions workflows. This introduces a code injection vulnerability: a malicious actor submitting a crafted pull request review containing shell metacharacters or commands could execute arbitrary shell code on the GitHub Actions runner. This can lead to arbitrary command execution with the permissions of the workflow, potentially compromising CI infrastructure, secrets, and build outputs. Developers who maintain or contribute to the repos WilderForge/WilderForge, WilderForge/ExampleMod, WilderForge/WilderWorkspace, WilderForge/WildermythGameProvider, WilderForge/AutoSplitter, WilderForge/SpASM, WilderForge/thrixlvault, WilderForge/MassHash, and/or WilderForge/DLC_Disabler; as well as users who fork any of the above repositories and reuse affected GitHub Actions workflows, are affected. End users of any the above software and users who only install pre-built releases or artifacts are not affected. This vulnerability does not impact runtime behavior of the software or compiled outputs unless those outputs were produced during exploitation of this vulnerability. A current workaround is to disable GitHub Actions in affected repositories, or remove the affected workflows.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.2.1.0 (com.wildermods.workspace:com.wildermods.workspace.gradle.plugin)
- < 1.0.0.5 (com.wildermods:ExampleMod)
- < 0.4.2.0 (com.wildermods:WilderForge)
- < 36a1107de6a77f8353dd0aa14690aa3c7c3550ef (com.wildermods:autosplitter)
- < 1.0.1.0 (com.wildermods:dlc_disabler)
- < 1.3.1.0 (com.wildermods:masshash)
- < 1.9.1.0 (com.wildermods:provider)
- < 0.5.1.0 (com.wildermods:thrixlvault)
Fixed in 5.2.1.0, 1.0.0.5, 0.4.2.0, 36a1107de6a77f8353dd0aa14690aa3c7c3550ef, 1.0.1.0, 1.3.1.0, 1.9.1.0, 0.5.1.0
Mitigation
Upgrade WilderForge to 5.2.1.0 or 1.0.0.5 or 0.4.2.0 or 36a1107de6a77f8353dd0aa14690aa3c7c3550ef or 1.0.1.0 or 1.3.1.0 or 1.9.1.0 or 0.5.1.0 or later.
References
- Vendor advisory github.com/WilderForge/WilderForge/security/ad…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.