Skip to content

fix shell command injection bug#4

Open
yakshaver2000 wants to merge 1 commit into
bbtinkerer:masterfrom
yakshaver2000:master
Open

fix shell command injection bug#4
yakshaver2000 wants to merge 1 commit into
bbtinkerer:masterfrom
yakshaver2000:master

Conversation

@yakshaver2000
Copy link
Copy Markdown

An attacker could make the backend process to execute arbitrary shell
commands by making requests to URLs containing shell metacharacters.

This commit fixes the vulnerability by replacing a use of
"child_process.exec" with "child_process.execFile", which executes
"irsend" directly instead of through a shell command.

An attacker could make the backend process to execute arbitrary shell
commands by making requests to URLs containing shell metacharacters.

This commit fixes the vulnerability by replacing a use of
"child_process.exec" with "child_process.execFile", which executes
"irsend" directly instead of through a shell command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant