Data exfiltration attack in git-annex - CVE-2018-10857
Published: June 28, 2018 / Updated: July 2, 2018
git-annex
Detailed vulnerability description
The vulnerability allows a remote attacker to obtain potentially sensitive information on the target system.
The vulnerability exists due to private data exfiltration attack. A remote attacker can run git-annex addurl --relaxed file:///etc/passwd and commit this to the repository in some out of the way place. After the victim's git repository receives that change, git-annex follows the attacker-provided url to private data, which it stores in the git-annex repository. From there it transfers the content to the git-annex repository that the attacker has access to.