GHSL-2020-235: Arbitrary command injection in wayou/turn-issues-to-posts-action
The GitHub Action 'turn-issues-to-posts' uses the title of a GitHub issue directly in a shell command without sanitisation. An attacker who can create an issue can inject arbitrary shell commands, potentially exfiltrating secret tokens.
The turn-issues-to-posts action is vulnerable to arbitrary command injection.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
Attackers may be able to exfiltrate secret tokens.
What the attacker needed
Ability to create an issue in the repository
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a GitHub Action that automatically turns GitHub issues into blog posts. It takes the issue title and puts it straight into a command that runs on the server. Because the title isn't cleaned, someone can put special characters in the title to run their own commands, like stealing secret passwords.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.