OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site...

30
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP Foundation OWASP http://www.owasp.org Top Ten 2010 rc1 Presentation Colin Watson Watson Hall Ltd colin.watson(at)owasp.org OWASP London, 16 th April 2010

Transcript of OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site...

Page 1: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

Copyright

©The O

WA

SP F

oundation

Perm

issi

on is

gra

nte

d t

o c

opy,

dis

trib

ute

and/o

r m

odify t

his

docu

ment

under

the t

erm

s of

the O

WASP L

icense

.

The OWASP Foundation

OWASP

htt

p:/

/ww

w.o

wasp

.org

Top Ten 2010 rc1

Presentation

Colin W

atson

Watson Hall Ltd

colin

.wats

on(a

t)ow

asp

.org

OW

ASP L

ondon,

16

thApril 2010

Page 2: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

12

OWASP

Top Ten -2010 rc1

The Ten Most Critical Web Application Security Risks

Page 3: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

13

OWASP

Risks to your business processes & info systems

Page 4: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

14

OWASP

OWASP Top 10 Risk Rating M

ethodology

Page 5: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

15

OWASP

Example for Cross Site Scripting (XSS)

XSS

Score = W

eighted risk rating

= Average of Exploitability, Prevalence and Detectabilitymultiplied by Impact

= (2+1+1)/3 x 2

= 2.6

Page 6: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

16

OWASP

Evaluate your own business risks

Use

OW

ASP’s

Ris

k R

ating M

eth

odolo

gy

htt

p:/

/ww

w.o

wasp

.org

/index.p

hp/O

WASP_R

isk_R

ating_M

eth

odolo

gy

�Ste

p 1

: Id

entify

ing a

ris

k

�Ste

p 2

: Fact

ors

for

est

imating lik

elih

ood

�Ste

p 3

: Fact

ors

for

est

imating im

pact

�Ste

p 4

: D

ete

rmin

ing s

everity

of

the r

isk

�Ste

p 5

: D

eci

din

g w

hat

to f

ix

�Ste

p 6

: Cust

om

izin

g y

our

risk

rating m

odel

Page 7: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

17

OWASP

Page 8: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

18

OWASP

A10 -Insufficient Transport Layer Protection

Page 9: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

19

OWASP

Page 10: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

20

OWASP

A9 -Insecure Cryptographic Storage

Page 11: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

21

OWASP

Page 12: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

22

OWASP

A8 -UnvalidatedRedirects and Forw

ards

Page 13: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

23

OWASP

Page 14: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

24

OWASP

A7 -Failure to Restrict URL Access

Page 15: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

25

OWASP

Page 16: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

26

OWASP

A6 -Security M

isconfiguration

Page 17: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

27

OWASP

Page 18: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

28

OWASP

A5 -Cross-Site Request Forgery (CSRF)

Page 19: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

29

OWASP

Page 20: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

30

OWASP

A4 -Insecure Direct Object References

Page 21: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

31

OWASP

Page 22: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

32

OWASP

A3 -Broken Authentication & Session M

anagement

Page 23: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

33

OWASP

Page 24: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

34

OWASP

A2 -Cross-Site Scripting (XSS)

Page 25: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

35

OWASP

Page 26: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

36

OWASP

A1 -Injection

Page 27: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

37

OWASP

Standard layout for each page

�R

isk c

alc

ula

tion

�H

ow

to d

ete

ct if

you

are

vuln

era

ble

�Exam

ple

s att

ack

s

�H

ow

to p

revent

it

�R

efe

rence

s

Page 28: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

38

OWASP

Additional advice

�W

hat’s

next

for

develo

pers

�W

hat’s

next

for

verifiers

�?

�N

ote

s about

risk

Page 29: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

39

OWASP

Summary of changes 2007 to 2010 rc1

Page 30: OWASP - Top Ten 2010 rc1OWASP OWASP Top 10 Risk Rating Methodology 15 OWASP Example for Cross Site Scripting (XSS) XSS Score = Weighted risk rating = Average of Exploitability, Prevalence

40

OWASP

The End