Understanding & explaining Use-After-Free vulnerability, a critical security flaw
summary
Explains what a Use‑After‑Free does in practice and shows two live demos: one leaks another user’s sensitive input from heap memory, the other chains a UAF in userspace with a netfilter bug to achieve full root on unpatched kernels (successfully exploited, then shown blocked after the patch). Recommends concrete defenses: C/C++ mitigations like AddressSanitizer and Valgrind, CI static scans (Clang static analyzer), smart pointers, nulling wrappers, and cites CVE-2024-1086.
AI-written summary · about
chapters (27)
- 0:00Introduction
- 1:04Use-After-Free vulnerability
- 3:38Exploitation animation
- 4:23Why UAF is dangerous
- 6:11Memory management risks
- 7:15Pointer nullification
- 8:21Testing pointers
- 9:30Wrapper functions
- 10:35Data anonymization
- 11:20Static analysis tools
- 12:50Dynamic analysis with Valgrind
- 13:53Sanitizer libraries in GCC
- 14:57Prevention best defense
- 15:43Smart pointers
- 16:25Combining security techniques
- 17:28Live UAF demo
- 19:48Kernel privilege escalation
- 22:46Affected kernel versions
- 23:54Kernel patching effectiveness
- 24:57Real-world UAF risks
- 25:40Hardware mitigation
- 26:55Q&A
- 27:17Sanitization tool differences
- 31:17CVE examples
- 32:23False positives in static analysis
- 34:13Kernel UAF demo details
- 36:00Summary
related talks
47mUse After Free Exploitation
45mThe Art of Exploiting Unconventional Use-after-free Bugs in Android Kernel
01h 16mClassic Vulnerabilities
01h 00m“Secure Coding Best Practices: Your First Line Is The Last Line Of Defense (1 of 2)”
44mDeep Analysis of Exploitable Linux Kernel Vulnerabilities 2017-2019
01h 05mClassic Vulnerabilities
52mA New CVE-2015-0057 Exploit Technology
01h 05mFinding and Fixing Security Bugs in Flash
