Docsity

Web Application Security: Vulnerabilities and Evasion Techniques - Docsity.com, Slides of Computer Networks

Partial preview of the text

Download Web Application Security: Vulnerabilities and Evasion Techniques - Docsity.com and more Slides Computer Networks in PDF only on Docsity!

Taking Aim

at Web Applications

Introduction

  • Bill Pennington
    • Principal Consultant, Guardent
    • Tested over 300 web applications of the past 3 years

Topics

  • This is not new
  • Why your firewall doesn’t matter
  • Types of attacks
  • Filter, Filter, Filter
  • Do you know where your data is?
  • Tools to help you

This is Not New

  • Problems with web applications are the same problems with standalone applications

Top 5 Vulnerabilities

  • SQL insertion
  • XSS
  • Session Hijacking
  • Parameter manipulation
  • Unbounded file calls

Cross site scripting, Why you should

care.

  • XSS is not an attack on the server, it is an attack on the users of your application
  • So what?
    • Identity theft
    • User masquerading
    • Reputation Risk

Cross Site Scripting (XSS)

  • Found in 98% of applications I test
  • 2 main types
    • Transient (URL basedP
      • http://badapp.com/error.jsp?msg=
    • Sticky – Script placed in a static bit of web content

XSS continued…

  • Transient generally requires user interaction
  • What can happen?
    • Possibilities are only restricted by the client
    • Cookie theft most common example
  • But I filter “<“ and “>”
    • Jscript entities “&{alert(‘Test')};”

Session Hijacking continued…

  • Generally the next thing to occur after XSS
  • Please people logout means logout!
  • Examples of common session tracking issues

Parameter Tampering

  • Programmers will store data anywhere!
    • URL parameters http://badapp.com/checkout.pl?p=$1.
    • Cookies – Cookie:p=$1.
    • Hidden fields – not really hidden

Do you know where your data is?

  • Building an exclusionary filter is difficult because your data is all over the place

Data Flow example

Examples

• ASP

• PHP

  • Jscript
  • Perl

Bypassing poorly designed filters

All warfare is based on deception…If he is in superior strength, evade him. –Sun Tzu, The Art of War, 500BC