From Padding Oracle to Shell: Unauthenticated RCE in Telerik UI for ASP.NET
summary
Unauthenticated RCE in Telerik UI for ASP.NET exploits a recoverable AES-CBC padding oracle on encrypted client state to alter JSON config, use a sacrificial block to bypass a static IV, then deserialize an assembly installer gadget that loads a mixed‑mode DLL. The researcher builds an exploit that writes or injects an in‑memory web shell via a loader thread and request‑pipeline module, sends ~130,000 requests and completes in about one hour, successfully affecting versions 2.2.5, 4.2.1 and 5.1.9; fixed by moving to AES‑GCM.
AI-written summary · about
chapters (12)
- 0:00Introduction and motivation
- 2:06Padding oracle fundamentals
- 9:11AES-CBC and padding oracle
- 19:09Telerik UI overview
- 24:29Identifying padding oracles in Telerik
- 31:10Static IV challenge and solution
- 37:29Deserialization gadgets for RCE
- 42:49Crafting the web shell payload
- 53:21Exploit chain assembly
- 1:00:23Live demo walkthrough
- 1:06:48Patch bypass and final fixes
- 1:10:59Disclosure timeline and credits
