The gift that keeps giving Exploiting Git Integrations in Cl...#2392
Open
carlospolop wants to merge 1 commit into
Open
The gift that keeps giving Exploiting Git Integrations in Cl...#2392carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://nopnop.pro/2026/06/17/exploiting-git-integrations-in-cloud-services Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting -> 80,443 - Pentesting Web Methodology -> Git, or a new subsection such as 'Exploiting Git Integrations / Git CLI Abuse in Web Apps'". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
The gift that keeps giving: Exploiting Git Integrations in Cloud Services
The post analyzes why cloud products that expose Git operations through a web UI create a large server-side attack surface. Typical cloud Git integrations clone attacker-controlled repositories, expose file browsing/editing, and map UI actions such as commit, diff, branch switching, pull, merge, dependency import, and package installation to real
gitCLI commands or Git library calls executed on the...🔧 Technical Details
Git config-to-RCE in CLI-backed integrations: If an application shells out to the native Git CLI and an attacker can write or append to
.git/config, the attacker can configure execution directives such ascore.fsmonitor,core.sshCommand,core.gitProxy,credential.helper,filter.<name>.clean,filter.<name>.smudge,diff.external,core.pager, orcore.editor. Later Git operations trigger those commands. Append-only writes can still work because Git accepts duplicate INI sections and the last value may override earlier values.Git hook and
core.hooksPathhijacking: Git executes hook scripts on operations such as commit, checkout, merge, pull, and push. A file-write primitive into.git/hooks/can plant a hook directly. A config-write primitive can redirectcore.hooksPathto a controlled...🤖 Agent Actions
Done.
Updated:
src/network-services-pentesting/pentesting-web/git.mdAdded concise new content for:
core.hooksPath/ hook hijacking--core.symlinksabuseAlso updated the file’s
## Referenceswith:Validation:
## Referencesappears once and remains at the endmdbook buildcould not be run becausemdbookis not installed in this environmentThis PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.