No Website Left Behind: Are We Making Web Security Only for the Elite?

27
No Web Site Left Behind: Are We Making Web Security Only for the Elite? Terri Oda and Anil Somayaji Carleton University, Ottawa, Canada

description

Web security explanations and solutions have been designed for programmers, but many of the people who create pages do not have a programming background. This presentation explains why this is a problem, and suggests some ways we can improve the state of web security. This was presented at W2SP 2010 on May 20th. It may not be very useful until I have time to create an audio track, so in the meantime please check out the annotated slides on webinsecurity.net for more explanation.

Transcript of No Website Left Behind: Are We Making Web Security Only for the Elite?

Page 1: No Website Left Behind: Are We Making Web Security Only for the Elite?

No Web Site Lef t Behind: Are We Making Web Secur ity

Only for the Elite?

Terr i Oda and Anil Somayaji Car leton University, Ot tawa, Canada

Page 2: No Website Left Behind: Are We Making Web Security Only for the Elite?

Page Creatorsare not all

Programmers

Page 3: No Website Left Behind: Are We Making Web Security Only for the Elite?
Page 4: No Website Left Behind: Are We Making Web Security Only for the Elite?
Page 5: No Website Left Behind: Are We Making Web Security Only for the Elite?

Web developer

Deigner

Creative Director

Graphic Artist

Art Director

Logo creator Web Designer

Page 6: No Website Left Behind: Are We Making Web Security Only for the Elite?

Moter

Soccer Coach

Gaming guild leader

Pet Owner

Journalist

Student

Writer

Repair Tech

Entrepreneur

Teacher

MinisterCitizen

Worker

Real estate agent

Page 7: No Website Left Behind: Are We Making Web Security Only for the Elite?

Web Secur ityis for

Programmers

Page 8: No Website Left Behind: Are We Making Web Security Only for the Elite?

=

Page 9: No Website Left Behind: Are We Making Web Security Only for the Elite?

Problem: Gremlins in the Engine

Page 10: No Website Left Behind: Are We Making Web Security Only for the Elite?

Safer Coding Pract ices

Page 11: No Website Left Behind: Are We Making Web Security Only for the Elite?

Taint ing

Page 12: No Website Left Behind: Are We Making Web Security Only for the Elite?

Taint ing

Page 13: No Website Left Behind: Are We Making Web Security Only for the Elite?

Known Exploit Detect ion

Look!

Look!

Look!

Look!

Page 14: No Website Left Behind: Are We Making Web Security Only for the Elite?

Known Exploit Detect ion

Look!

Look!

Look!

Look!

Page 15: No Website Left Behind: Are We Making Web Security Only for the Elite?

Mashup Protect ions

Page 16: No Website Left Behind: Are We Making Web Security Only for the Elite?

The language of secur it y

define R1 ≡ all URIs accepted by the first HTTP header CSPdefine R2 ≡ all URIs accepted by the second HTTP header CSPRe = {r | r ∈ R1 AND r ∈ R2}(Re is the set of all URIs accepted by the intersected CSP)

CWE/SANS TOP 25 Most Dangerous Programming Errors

The Open Web Application Security Project (OWASP) is a worldwide free and open community focused on improving the security of application software.

Cross-site Scripting (XSS) is an attack technique that involves echoing attacker-supplied code into a user's browser instance. A browser instance can be a standard web browser client, or a browser object embedded in a software product such as the browser within WinAmp, an RSS reader, or an email client.

SANS

MozillaCSP

OWASP

WASC

Page 17: No Website Left Behind: Are We Making Web Security Only for the Elite?

Non-Programmersst ill needSecur it y

Page 18: No Website Left Behind: Are We Making Web Security Only for the Elite?

Popular Facebook Game Caught Serving Malvertisements

64% of websites currently have a serious vulnerability

When Web 2.0 Becomes Security Risk 2.0

Malware delivered by Yahoo, Fox, Google ads

More than 100 attacks a second

78% of reported vulnerabilities were web related in Q1-2 2009

83% of sites have had a serious vulnerability

Web hit by high tech crime wave

75% of web sites with malicious code are compromised legitimate sites

Page 19: No Website Left Behind: Are We Making Web Security Only for the Elite?

Deign afects Securty

Page 20: No Website Left Behind: Are We Making Web Security Only for the Elite?

So... Now What?

Page 21: No Website Left Behind: Are We Making Web Security Only for the Elite?

security costs > risk?

Page 22: No Website Left Behind: Are We Making Web Security Only for the Elite?

More secure inf rast ructure

andtools

Page 23: No Website Left Behind: Are We Making Web Security Only for the Elite?

Educat ion

Page 24: No Website Left Behind: Are We Making Web Security Only for the Elite?

Minimal Intervent ions

Page 25: No Website Left Behind: Are We Making Web Security Only for the Elite?

Separat ion between secur it y and design

Page 26: No Website Left Behind: Are We Making Web Security Only for the Elite?

Offl oad to someone else

● Others in the organizat ion● e.g. Systems administ rator

● Users● Outside experts

Page 27: No Website Left Behind: Are We Making Web Security Only for the Elite?

Quest ions?

terr [email protected] leton.ca