


























The following report is a disclosure of a command injection vulnerability discovered in the fast-git-clone command line tool, which is used to clone git repositories quickly. Unfortunately, the maintainer did not respond to multiple attempts to contact them regarding this security issue.
Resources:
The fast-git-clone CLI accepts a URL as a command line argument for a remote repository to clone, such as:
The code in src/index.js on line 62 at the current tip of the branch makes use of command and command arguments concatenation from user input, which allows users to escape the git program and run any other arbitrary commands.
fgc clone ";touch /tmp/clonepwn #"/tmp/clonepwn created on the system.This vulnerability is capable of allowing arbitrary commands on a system, even if users are only allowed to use fgc.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。