You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Affected: Versions with
you-get
enabledReproducible: YES
POC
Steps:
you-get
feature[ANY URL] & [ANY SHELL COMMAND]
for example,
http://www.bilibili.com/video/av7265606/ & touch ~/vulnerable
will create a file named
vulnerable
in user's home directory.Related code
in
YouGet.swift
function
sh
takes an arbitrary string and pass it as the second argument to/bin/sh -c
Solution
Maybe the best way, add slashes or escapes for any user input.
The text was updated successfully, but these errors were encountered: