People often ask me "How did you learn how to hack?" The answer: by reading. This page is a collection of the blog posts and other articles that I have accumulated over the years of my journey. Enjoy!
git version control is supported on various cloud providers. Under the hood, it uses the git CLI or some wrapper around it. Because of this, the usage of files, and the features of git, there are a lot of ways to get RCE or exploit its integrations.cli_git_command(), it tries to tries to remove all bad bash characters but allows = and -. This is perfect for argument injection! By using the parameter --pathspec-from-file= with a local secret, an error message would print a local secret token..git folder. With JGit disables a lot of the RCE primitives, they decided to play with more symlinks via enabling this in the git settings. By enabling this feature, and creating a symlink in their repository it gave them cross-tenant access!.git, it created a confusion the repository this was executed in. They also used a symlink for this attack to reference $HOME to get outside of the directory. Because of this confusion, a classic git-based code execution outside the context of the current folder..git at all costs. Overall, a good posts with lots and tricks real bugs!