Caught in the Octopus Trap Unauthenticated RCE in Argo CD wi...#319
Open
carlospolop wants to merge 1 commit into
Open
Caught in the Octopus Trap Unauthenticated RCE in Argo CD wi...#319carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://synacktiv.com/en/publications/caught-in-the-octopus-trap-unauthenticated-rce-in-argo-cd-with-codeql.html Content Categories: Based on the analysis, this content was categorized under "Pentesting CI/CD -> Argo CD Security or Kubernetes Pentesting -> Argo CD / GitOps Attacks". 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
Overview
Synacktiv documents an unauthenticated arbitrary code execution vulnerability in Argo CD's
repo-servercomponent. The issue is reachable when an attacker has network access to the repo-server gRPC service, typically on TCP8081, and can call/repository.RepoServerService/GenerateManifestdirectly. By crafting aManifestRequest, the attacker can force repo-server to clone an attacker-controlled Git repository, pass attacker-c...🔧 Technical Details
Framework-specific CodeQL source modeling: In Go gRPC/REST applications, the most useful taint source may be the already-unmarshaled request object rather than the raw HTTP body. The article models methods with receiver
ServerorService, first parametercontext.Context, and second parameter as an attacker-controlled request. MarkingParameter[1]as a CodeQLRemoteFlowSourcehelps discover flows from typed API objects into dangerous sinks.Custom Go command-injection sink modeling: If default CodeQL queries miss flows into
os/exec, add sink models forexec.Commandandexec.CommandContext. Marking the executable path and relevant argument positions ascommand-injectionsinks allows taint tracking from API request fields to command execution calls such asexec.Command(k.getBinaryPath(), params...).🤖 Agent Actions
Progress update only:
Current modified file:
src/pentesting-ci-cd/pentesting-ci-cd-methodology.mdStill holding the final wrap-up.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.
📚 Repository Maintenance
All .md files have been checked for proper formatting (headers, includes, etc.).