Skip to main content
00:00/00:00
Lecture 10 of 198

Lab #7 User ID controlled by request parameter

Download Course (Free)

Course Content

0 / 198 completed
Section 1: Course Curriculum1 videos

Introduction to the Web Security Academy Seriesw

11m
Section 2: Access Control Vulnerabilities14 videos

Broken Access Control

43m

Lab #1 Unprotected admin functionality

22m

Lab #2 Unprotected admin functionality with unpredictable URL

48m

Lab #3 User role controlled by request parameter

57m

Lab #4 User role can be modified in user profile

47m

Lab #5 URL-based access control can be circumvented

32m

Lab #6 Method-based access control can be circumvented

34m

Lab #9 User ID controlled by request parameter with data leakage in title

39m

Lab #7 User ID controlled by request parameter

48mNow Playing

Lab #8 User ID controlled by request parameter, with unpredictable title

1h 2m

Lab #10 User ID controlled by request parameter with password title

50m

Lab #12 Multi-step process with no access control on one step

32m

Lab #13 Referer-based access control

27m

Lab #11 Insecure direct object references

44m
Section 3: Authentication Vulnerabilities18 videos

Agenda

1m

How to Prevent Authentication Vulnerabilities

5m

Lab #1 Username enumeration via different responses

10m

How to Find & Exploit Authentication Vulnerabilities

11m

Lab #2 2FA simple bypass

20m

Lab #4 Username enumeration via subtly different responses

15m

Lab #3 Password reset broken logic

27m

Lab #5 Username enumeration via response timing

26m

Lab #6 Broken brute-force protection, IP block

23m

Lab #7 Username enumeration via account lock

17m

Lab #8 2FA broken logic

17m

Lab #11 Password reset poisoning via middleware

21m

Lab #9 Brute-forcing a stay-logged-in cookie

32m

Lab #10 Offline password cracking

28m

Lab #12 Password brute-force via password change

51m

What are Authentication Vulnerabilities

20m

Lab #14 2FA bypass using a brute-force attack

17m

Lab #13 Broken brute-force protection, multiple credentials per request

33m
Section 4: Business Logic Vulnerabilities14 videos

How to Prevent Business Logic Vulnerabilities

3m

How to Find & Exploit Business Logic Vulnerabilities

3m

Lab #3 Inconsistent security controls

11m

Lab #2 High-level logic vulnerability

54m

Lab #1 Excessive trust in client-side controls

51m

Lab #5 Low-level logic flaw

24m

Lab #4 Flawed enforcement of business rules

1h

Lab #6 Inconsistent handling of exceptional input

30m

Lab #7 Weak isolation on dual-use endpoint

46m

Lab #9 Authentication bypass via flawed state machine

34m

Lab #8 Insufficient workflow validation

44m

What is a Business Logic Vulnerability

13m

Lab #10 Infinite money logic flaw

1h 30m

Lab #11 Authentication bypass via encryption oracle

41m
Section 5: ClickJacking9 videos

How to Exploit Clickjacking Vulnerabilities

7m

How to Find Clickjacking Vulnerabilities

6m

How to Prevent Clickjacking Vulnerabilities

8m

Lab #1 Basic clickjacking with CSRF token protection

15m

Lab #3 Clickjacking with a frame buster script

9m

Lab #2 Clickjacking with form input data prefilled from a URL parameter

18m

Lab #4 Exploiting clickjacking vulnerability to trigger DOM-based XSS

13m

Lab #5 Multistep clickjacking

12m

What is Clickjacking

10m
Section 6: Command Injection6 videos

Lab #1 OS command injection, simple case

41m

Command Injection

36m

Lab #2 Blind OS command injection with time delays

44m

Lab #3 Blind OS command injection with output redirection

1h 4m

Lab #4 Blind OS command injection with out-of-band interaction

13m

Lab #5 Blind OS command injection with out-of-band data exfiltration title

15m
Section 7: Cross Origin Resource Sharing CORS5 videos

Lab #1 CORS vulnerability with basic origin reflection

28m

Lab #2 CORS vulnerability with trusted null origin

36m

Cross-Origin Resource Sharing (CORS)

56m

Lab #3 CORS vulnerability with trusted insecure protocols

50m

Lab #4 CORS vulnerability with internal network pivot attack

1h 13m
Section 8: Cross Site Request Forgery CSRF13 videos

Lab #1 CSRF vulnerability with no defenses

43m

Cross-Site Request Forgery (CSRF)

1h 1m

Lab #2 CSRF where token validation depends on request method

41m

Lab #3 CSRF where token validation depends on token being present

29m

Lab #4 CSRF where token is not tied to user session

39m

Lab #7 CSRF where Referer validation depends on header being present title

43m

Lab #6 CSRF where token is duplicated in cookie

52m

Lab #5 CSRF where token is tied to non-session cookie

1h 6m

Lab #8 CSRF with broken Referer validation

39m

Lab #9 SameSite Lax bypass via method override

13m

Lab #10 SameSite Strict bypass via client-side redirect

24m

Lab #12 SameSite Lax bypass via cookie refresh

31m

Lab #11 SameSite Strict bypass via sibling domain

54m
Section 9: Cross Site Scripting XSS27 videos

How to Prevent XSS Vulnerabilities

7m

How to Find & Exploit XSS Vulnerabilities

13m

Lab #1 Reflected XSS into HTML context with nothing encoded

7m

Lab #2 Stored XSS into HTML context with nothing encoded

10m

Lab #3 DOM XSS in document.write sink using source location.search

13m

Lab #4 DOM XSS in innerHTML sink using source location.search

10m

Lab #5 DOM XSS in jQuery anchor href attribute sink using location.search source

10m

Lab #8 Stored XSS into anchor href attribute with double quotes HTML-encoded

10m

Lab #7 Reflected XSS into attribute with angle brackets HTML-encoded

10m

Lab #6 DOM XSS in jQuery selector sink using a hashchange event

19m

Lab #9 Reflected XSS into a JavaScript string with angle brackets HTML encoded

9m

Lab #11 DOM XSS in AngularJS expression with angle brackets and double quotes HTML-encoded

7m

Lab #10 DOM XSS in document.write sink using source location.search inside a select element

15m

Lab #13 Stored DOM XSS

13m

Lab #12 Reflected DOM XSS

16m

Lab #14 Exploiting cross-site scripting to steal cookies

15m

Lab #15 Exploiting cross-site scripting to capture passwords

15m

Lab #17 Reflected XSS into HTML context with most tags and attributes blocked

18m

Lab #16 Exploiting XSS to perform CSRF

22m

Lab #19 Reflected XSS with some SVG markup allowed

12m

Lab #18 Reflected XSS into HTML context with all tags blocked except custom ones

19m

Lab #21 Reflected XSS into a JavaScript string with single quote and backslash escaped

8m

Lab #20 Reflected XSS in canonical link tag

13m

Lab #22 Reflected XSS into a JavaScript string with angle brackets and double quotes HTML-encoded and single quotes escaped

11m

Lab #23 Stored XSS into onclick event with angle brackets and double quotes HTML-encoded and single quotes and backslash escaped

14m

Lab #24 Reflected XSS into a template literal with angle brackets, single, double quotes, backslash and backticks Unicode-escaped

6m

What is XSS

16m
Section 10: Directory Traversal10 videos

How to Exploit Directory Traversal Vulnerabilities

3m

How to Find Directory Traversal Vulnerabilities

6m

How to Prevent Directory Traversal Vulnerabilities

2m

Lab #2 File path traversal, traversal sequences blocked with absolute path bypass

27m

Lab #3 File path traversal, traversal sequences stripped non-recursively

31m

Lab #4 File path traversal, traversal sequences stripped with superfluous URL-decode

29m

Lab #1 File path traversal, simple case

32m

Lab #5 File path traversal, validation of start of path

25m

What is Directory Traversal

10m

Lab #6 File path traversal, validation of file extension with null byte bypass

24m
Section 11: DOM-Based Vulnerabilities11 videos

How to Prevent DOM-Based Vulnerabilities

9m

Lab #2 DOM XSS using web messages and a JavaScript URL

10m

Lab #1 DOM XSS using web messages

11m

How to Find & Exploit DOM-Based Vulnerabilities

25m

Lab #3 DOM XSS using web messages and JSON.parse

11m

Lab #5 DOM-based cookie manipulation

19m

Lab #4 DOM-based open redirection

16m

What are DOM-Based Vulnerabilities

4m

What is the DOM

5m

Lab #7 Clobbering DOM attributes to bypass HTML filters

27m

Lab #6 Exploiting DOM clobbering to enable XSS

54m
Section 12: External XML Entity XXE15 videos

Additional Resources

2m

Agenda

1m

How to Prevent XXE Injection

1m

How to Find XXE Injection

6m

How to Exploit XXE Injection

17m

Lab #1 Exploiting XXE using external entities to retrieve files

23m

Lab #3 Blind XXE with out-of-band interaction

11m

Lab #2 Exploiting XXE to perform SSRF attacks

24m

Lab #4 Blind XXE with out-of-band interaction via XML parameter entities

12m

Lab #6 Exploiting blind XXE to retrieve data via error messages

21m

Lab #5 Exploiting blind XXE to exfiltrate data using a malicious external DTD

34m

Lab #7 Exploiting XInclude to retrieve files

28m

Lab #8 Exploiting XXE via image file upload

49m

What is XXE Injection

23m

Lab #9 Exploiting XXE to retrieve data by repurposing a local DTD

53m
Section 13: File Upload Vulnerabilities11 videos

How to Exploit File Upload Vulnerabilities

8m

How to Find File Upload Vulnerabilities

8m

How to Prevent File Upload Vulnerabilities

3m

Lab #1 Remote code execution via web shell upload

55m

Lab #2 Web shell upload via Content-Type restriction bypass

49m

Lab #3 Web shell upload via path traversal

53m

Lab #6 Remote code execution via polyglot web shell upload

12m

Lab #4 Web shell upload via extension blacklist bypass

1h 3m

Lab #5 Web shell upload via obfuscated file extension

49m

What is a File Upload Vulnerability

6m

Lab #7 Web shell upload via race condition

26m
Section 14: Information Disclosure9 videos

How to Exploit Information Disclosure Vulnerabilities

1m

How to Prevent Information Disclosure Vulnerabilities

3m

How to Find Information Disclosure Vulnerabilities

8m

Lab #1 Information disclosure in error messages

23m

Lab #2 Information disclosure on debug page

23m

Lab #4 Authentication bypass via information disclosure

23m

Lab #5 Information disclosure in version control history

8m

Lab #3 Source code disclosure via backup files

25m

What is Information Disclosure

18m
Section 15: Server Side Request Forgery SSRF8 videos

Server-Side Request Forgery (SSRF)

56m

Lab #1 Basic SSRF against the local server

47m

Lab #3 SSRF with blacklist-based input filter

51m

Lab #2 Basic SSRF against another back-end system

1h 9m

Lab #4 SSRF with whitelist-based input filter

49m

Lab #6 Blind SSRF with out-of-band detection

15m

Lab #5 SSRF with filter bypass via open redirection vulnerability

50m

Lab #7 Blind SSRF with Shellshock exploitation

29m
Section 16: SQL Injection20 videos

Lab #1 SQL injection vulnerability in WHERE clause allowing retrieval title

1h 8m

Lab #2 SQL injection vulnerability allowing login bypass

1h 9m

SQL Injection

1h 18m

Lab #3 SQLi UNION attack determining the number of columns returned by title

1h 10m

Lab #5 SQL injection UNION attack, retrieving data from other tables title

56m

Lab #7 SQL injection attack, querying the database type and version on title w

41m

Lab #6 SQL injection UNION attack, retrieving multiple values in a title

1h

Lab #4 SQL injection UNION attack, finding a column containing text title

1h 9m

Lab #8 SQLi attack, querying the database type and version on MySQL & title w

34m

Lab #8 SQLi attack, querying the database type and version on MySQL & title

56m

Lab #10 SQL injection attack, listing the database contents on Oracle title

1h 30m

Lab #9 SQL injection attack, listing the database contents on non title

1h 30m

Lab #11 Blind SQL injection with conditional responses

1h 19m

Lab #13 Blind SQL injection with time delays

45m

Lab #15 Blind SQL injection with out-of-band interaction

25m

Lab #12 Blind SQL injection with conditional errors

1h 30m

Lab #17 SQL injection with filter bypass via XML encoding

15m

Lab #16 Blind SQL injection with out of band data exfiltration

20m

Lab #14 Blind SQL injection with time delays and information retrieval title

1h 22m

Lab #18 Visible error-based SQL injection

31m
Section 17: Websocket Vulnerabilties7 videos

How to Prevent WebSocket Vulnerabilities

3m

Lab #1 Manipulating WebSocket messages to exploit vulnerabilities

9m

Introduction to WebSockets

15m

How to Find & Exploit WebSocket Vulnerabilities

20m

Lab #2 Manipulating the WebSocket handshake to exploit vulnerabilities

11m

What are WebSocket Vulnerabilities

4m

Lab #3 Cross-site WebSocket hijacking

28m