Stealing the Artifact Chaining JFrog Artifactory Authenticat... - #2707
Open
carlospolop wants to merge 4 commits into
Open
Stealing the Artifact Chaining JFrog Artifactory Authenticat...#2707carlospolop wants to merge 4 commits into
carlospolop wants to merge 4 commits into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://netspi.com/blog/technical-blog/red-teaming/stealing-the-artifact-jfrog-artifactory-vulnerability Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting > 80,443 - Pentesting Web Methodology > Artifactory Hacking guide; cross-reference from Pentesting Web sections covering Login/Auth Bypass, File Inclusion/Path Traversal, IDOR, and proxy/backend path normalization discrepancies". 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, severity, and impact
NetSPI discovered four JFrog Artifactory bugs that can be chained by a remote unauthenticated attacker to steal an arbitrary artifact from a repository for which the attacker has no read permission. In a simple single-container deployment, the first three bugs are sufficient when Tomcat port
8081is reachable. A typical production deployment additionally requires the fourth bug to traverse the externally exposedjf-router/Traefi...🔧 Technical Details
Security-filter and resource-router path mismatch: Test whether authentication filters and endpoint routers canonicalize trailing slashes, duplicate separators, encoded characters, and path parameters differently. If a filter uses an exact matcher for
/endpointbut the application router also accepts/endpoint/, the alternate path may skip authentication while still reaching the protected handler. Examine what later filters do with an empty security context: a fallback anonymous identity can become dangerous when downstream code treats any populated context as authenticated or mints credentials based only on its username.Fallback identity converted into a bearer token: A nominally anonymous principal may be represented by a real database account that inherits broad roles such as
user. If a token-exchange endpoint trustsSecurityContext.getAuthentication()without proving how that identity wa...🤖 Agent Actions
Updated
src/network-services-pentesting/pentesting-web/artifactory-hacking-guide.md.Added:
jf-router/Tomcat..;path-parser confusion.Validation completed:
git diff --checkpassed.mdbook buildwas unavailable because mdBook is not installed.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.