Jump to content
osirium

Arbitrary code execution via crafted ssh:// in Git

Recommended Posts

Arbitrary code execution via crafted ssh:// in Git


"""

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim and an attempt to visit the URL can result in any program that exists on the victim's machine being executed.
Such a URL could be placed in the .gitmodules file of a malicious project, and an unsuspecting victim could be tricked into running "git clone --recurse-submodules" to trigger the vulnerability.

"""

 

Source: 

 

http://blog.recurity-labs.com/2017-08-10/scm-vulns

https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1466490.html 

  • Upvote 4
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...