Exploiting Titan Quest Arbitrary Code Execution Through Mali... - #2569
Open
carlospolop wants to merge 1 commit into
Open
Exploiting Titan Quest Arbitrary Code Execution Through Mali...#2569carlospolop 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/exploiting-titan-quest.html Content Categories: Based on the analysis, this content was categorized under "Binary Exploitation → Libc Heap → Heap Overflow, with cross-references from Binary Exploitation → Integer Overflow, ROP & JOP → Stack Pivoting, and Generic Methodologies → Fuzzing/binary file-format parser exploitation". 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 and attack vector
Synacktiv analyzed the 32-bit GOG release of Titan Quest: Anniversary Edition v2.10.21415 on Windows 11 Professional 10.0.26200. The game supports community-created worlds installed manually under
C:\Users\user\Documents\My Games\Titan Quest - Immortal Throne\custommaps. A malicious map can therefore deliver attacker-controlled binary assets that are parsed inside the game process. The demonstrated exploit chain...🔧 Technical Details
Integer-overflow and independent-copy-length bug: A binary parser is exploitable when it allocates
width * heightbytes using fixed-width arithmetic but copies an independent attacker-controlledcount. The multiplication may wrap modulo2^32, andcountmay independently exceed the allocation. Attackers can choose the dimensions to obtain a desired heap size and use the copied file data as a controlled forward heap overflow.Destination-capacity bugs in binary deserialization: Checking that input remains inside the source buffer is insufficient. Every file-controlled element count must also be validated against the destination array's capacity. Loops that advance through fixed arrays or consecutive structure members can corrupt a heap object even when each individual string or primitive value is read safely. This pattern applies to arrays of C++ strings, booleans, DWORDs, compound records, and...
🤖 Agent Actions
Done — I updated:
src/binary-exploitation/libc-heap/heap-overflow.mdWhat I added:
I kept the change scoped to a single file and verified that it’s the only modified file.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.