Skip to content

USA 2013

Dissecting CSRF Attacks

CommunityBlack Hat47 minOpen on YouTube ↗

See how a proposed cookie policy could limit cross-origin session abuse while letting ordinary web content continue to load.

Summary

Overview: Cross Site Request Forgery (CSRF) remains a significant threat to web apps and user data. Current countermeasures like request nonces can be cumbersome to deploy correctly and difficult to apply to a site retroactively. Detecting these vulns with automated tools can be equally difficult to do accurately. The presentation starts with a demonstration of how to model attacks to validate whether different kinds of countermeasures are implemented correctly. It includes a tool and code to show how to

Key Topics: detect these vulns with few false positives. Then we explore how CSRF could be prevented at the HTTP layer by proposing a new header-based policy, similar to the intent of Content Security Policy. This new policy introduces a concept called Storage Origin Security (SOS) for cookies and session objects that foils many kinds of CSRF attacks without burdening the site with HTML modifications. The solution focuses on simplicity to make it easier to retrofit on current apps, but requires browsers to support a new client-side security control. We show how this trade-off could be a quicker way to imp

Technical Details: roving security on the web.

Related talks

Black Hat·26 min

  • Black Hat
  • Community
  • Date: 2025
  • Location: Black Hat

Electromagnetic Fault Injection · Automotive Systems

Electromagnetic Fault Injection examines Bam the BAM.

vulnerability-researchthreat-detectiondefensive-security

Black Hat·47 min

  • Black Hat
  • Community
  • Date: 2025
  • Location: Black Hat

Industry experts analyze emerging threats surrounding 2017 USA BHB 108.

vulnerability-researchthreat-detectiondefensive-security

Black Hat·49 min

  • Black Hat
  • Community
  • Date: 2025
  • Location: Black Hat

Million Browser Botnet

Million Browser Botnet explores USA 2013.

vulnerability-researchthreat-detectiondefensive-security