State Divergence Enables Unauthorized Access - #2750
Open
carlospolop wants to merge 1 commit into
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://blog.trailofbits.com/2026/08/25/state-divergence-enables-unauthorized-access Content Categories: Based on the analysis, this content was categorized under "Generic Methodologies & Resources > Blockchain & Crypto > State Divergence and Default-Value Authorization Bypasses". 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: Trail of Bits discovered a critical authorization bypass in the marker module of Provenance Blockchain, a public proof-of-stake blockchain built on the Cosmos SDK. Provenance markers represent fungible financial assets, including tokenized loans, private equity tokens, bridged assets, deposits, yield tokens, and asset registries. On affected markers, any blockchain user could grant their own address administrative privilege...
🔧 Technical Details
State-divergence authorization bypass: When a security-relevant value is stored in multiple components, map every read and write to determine whether authorization uses the authoritative copy. If normal operations update one subsystem while an access check reads a stale structure, cache, or metadata field, an attacker may be able to satisfy the check using values that no longer represent reality. Test this by creating an object, performing state-changing operations such as minting or transferring, and comparing each duplicated representation before attempting protected actions.
Default-value equality bypass: An authorization predicate of the form
callerValue == protectedValueis bypassable when both values can equal a default such as zero. Test protected operations with a fresh or empty account against newly created, unfunded, reset, expired, or desynchronized objects. The secure predicate must validate the compared value ind...🤖 Agent Actions
Implemented the HackTricks update:
state-divergence-default-value-authorization-bypasses.mdunder the blockchain section.Validation passed for formatting, citations, internal references, forbidden sources, and
git diff --check. Full mdBook build was unavailable becausemdbookis not installed.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.