ElectroVolt Pwning Desktop Apps Built On Electron
summary
Demonstrates practical Remote Code Execution across 20 applications including Discord, Teams, VSCode, Notion and Element by chaining web flaws (XSS/open-redirects/deeplinks) with Electron-specific primitives. Uses real V8/JIT exploits to flip Blink webPreferences bits (nodeIntegrationInSubframes, contextIsolation), a prototype-pollution gadget to leak internal IPC and call dangerous sinks (shell.openExternal/openPath), and exploits that read local files or pop a calculator. Provides PoCs, bounty results, and fixes: upgrade Electron, enable sandbox and contextIsolation, remove sensitive IPCs.
AI-written summary · about
chapters (15)
- 0:00Introduction to Electron vulnerabilities
- 1:05Electron basics and architecture
- 9:39Attack surface and least restrictive configs
- 10:21Case study: VS Code exploit
- 14:51Context isolation bypass techniques
- 16:17Case study: Discord exploit
- 18:02Sandboxed renderer exploitation
- 21:55Case study: Microsoft Teams exploit
- 23:41Most restrictive Electron configs
- 25:06Node integration in subframes
- 28:59Case study: Element exploit
- 31:48Disabling context isolation
- 34:40Mitigations and patch gaps
- 35:46Research findings and acknowledgments
- 36:31Q&A
