Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vunerable to arbitrary command execution #45

Open
ExcaliburZero opened this issue Dec 6, 2016 · 0 comments
Open

Vunerable to arbitrary command execution #45

ExcaliburZero opened this issue Dec 6, 2016 · 0 comments

Comments

@ExcaliburZero
Copy link

Currently PiCAST is vulnerable to arbitrary command execution due to the fact that it uses the command line to play videos.

Here is an example of an input that would cause unintended command execution:

localhost:3000/yt-stream/$(zenity --info --text "Arbitrary Command")

In order to fix this, you may want to add a way of making sure that the youtube video id is valid and does not contain $(SOME_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

No branches or pull requests

1 participant