Web Goat Lab Sesions 1
Web Goat Lab Sesions 1
Tamper Data
Web Goat
Lab Session 2
HTTP Basics
Sniffing
Parameter Tampering
Lab Session 3
SQL Injection
XSS
Lab Session 4
Authentication Flaws
Password cracking
Lab Session 6
Session Fixation/Stealing,
Phishing
OLD
New
The difference
Which parts are vulnerable?
Client
internet
internet
Client:
Vulnerable, nothing we can do
about this
Webserver:
Vulnerable, but easy to harden
Static http page:
Invulnerable
WebApplication and Database:
Very vulnerable
you can have them do something
for you and
they have access to a lot of
information (usernames,
passwords)
Client
webserver
webserver
webapplication
database
WEB APPLICATION
ARCHITECTURE
HTTP Request
Web Goat
HTTP
Response
Web server
User
Sends requests to the services
he wants to use (e.g. Facebook,
Google, YouTube)
Intruder
Can play the role of the user, and modify the HTTP request and response
Can access directly the web servers to exploit vulnerabilities
HTTP Request/Response
While browsing, every time an action is taken, a HTTP
Request is created
The HTTP Request goes from the browser to the web
server
The web server make some elaboration (e.g. verify if you
are a registered user) and send back a HTTP Response
HTTP Request
HTTP Response
HTTP Request
HTTP REQUEST
HTTP Response
INITIAL SETUP
Tamper Data
Tamper Data is a tool allowing you to intercept and modify Request/Response from your Mozilla
Firefox Browser
Note that this will intercept, and let you see the HTTP request/response, all your internet traffic
LAB SESSION 2
Sniffing:
Insecure Communication
Insecure login
Parameter Tampering:
Parameter Tampering
Bypass HTML Field Restrictions
Exploit Hidden Fields
Lab Session 3
SQL Injection
Injection Flaw
Modify data with SQL injection
XSS
Xross-Site-Scripting (XSS)
Stage 1: Stored XSS
Lab Session 4
Access Control
Access Control
Stage 3: Bypass Data Layer
Access Control
2/22/2013
2/22/2013
Sniffing - Exercise
Sniffing - Solution
Start tampering then press the Submit button
Get the value of the field clear_pass
The solution is sniffy
2/22/2013
2/22/2013
Lesson learned
You used your recently learned hacking skills to gain
personal advantages
You paid 1$ a product worth 3000$