Taking on the King: Killing Injection Vulnerabilities
summary
Injection stays number one because web apps treat untrusted values as strings and hand them to interpreters; SQL injection is about 20 years old yet still causes high-impact bugs (book report: 63% of P1s are SQLi, average bounty ≈ $2,000). Concrete fixes: remove raw execute this query APIs, stop string APIs for libraries, introduce a query-parameter type that throws on concatenation, and ship context-aware escaping in every template engine; examples include Brakeman, secure-handlebars, Go/C templating and libnacl-style secure defaults.
AI-written summary · about
chapters (40)
- 0:00Introduction
- 0:50Vacation pictures
- 1:16About me
- 1:46Survey Monkey
- 2:16Sequel Injection
- 2:57Top 10
- 3:47Top 10 2017
- 4:56Prevalence vs Impact
- 5:53CrowdStrike 2017 Report
- 6:50Injection Vulnerabilities
- 8:58Injection Example
- 11:01Command Injection Example
- 11:59Crosssite Scripting
- 13:20Thesis
- 15:11Compiler Construction
- 17:20String Manipulation
- 18:15ORM
- 19:56Suggestions
- 20:08Stop providing unsafe interfaces
- 20:45Examples of unsafe interfaces
- 22:12Using untrusted libraries
- 23:23Rails example
- 23:57Not just developers
- 24:21Query Parameters
- 25:39Why the Lucky Stiff
- 27:02Accepting Code
- 27:29Restrictions
- 29:35Building Strings
- 30:25C Templates
- 32:00Parsers
- 33:33Shell contextaware auto escaping
- 34:18Frameworks
- 38:56Lang SEC
- 44:19Security Professional
- 45:19Parameter Statements
- 46:49OverTrusting Input
- 47:39Example
- 49:19Static Analysis
- 50:49Libraries
- 52:09Building new frameworks
related talks
41mSecurity Vulnerabilities Decomposition: Another Way To Look At Vulnerabilities
38mInjections - 4 Ways of Penetration
44mEnding Injection Vulnerabilities
48mEnding Injection Vulnerabilities
01h 30mCommon Webapp Vulnerabilities and What to Do About Them
33mWill It Inject? A Look at SQL injections and ActiveRecord
41mSQL Injection Isn't Dead: Smuggling Queries at the Protocol Level
53mOWASP Top 10: What are them and how to prevent them
