mirror of
				https://github.com/HackTricks-wiki/hacktricks.git
				synced 2025-10-10 18:36:50 +00:00 
			
		
		
		
	f
This commit is contained in:
		
							parent
							
								
									e8f19acfe9
								
							
						
					
					
						commit
						be807f1816
					
				@ -106,9 +106,7 @@ Exploitation recipe (common in recent CTFs):
 | 
			
		||||
4. **Allocate** again – the leftover part overlaps with an existing in-use chunk → UAF.
 | 
			
		||||
5. Overwrite sensitive fields (function pointers, FILE vtable, etc.)
 | 
			
		||||
 | 
			
		||||
A practical application can be found in the 2024 HITCON Quals *Setjmp* challenge where this exact primitive is used to pivot from a UAF to full control of `__free_hook`.{{#ref}}
 | 
			
		||||
../../../../references/2024_setjmp_firstfit.md
 | 
			
		||||
{{#endref}}
 | 
			
		||||
A practical application can be found in the 2024 HITCON Quals *Setjmp* challenge where this exact primitive is used to pivot from a UAF to full control of `__free_hook`.
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
### 🛡️  Mitigations & Hardening
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user