From the course: CompTIA Security+ (SY0-701) Cert Prep: 2 Threats, Vulnerabilities, and Mitigations
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Session hijacking
From the course: CompTIA Security+ (SY0-701) Cert Prep: 2 Threats, Vulnerabilities, and Mitigations
Session hijacking
- [Instructor] Cookies are often used for web application authentication. After a user logs into a system, the web server provides a cookie so that the user doesn't need to continuously log into the system every time they request a new webpage. Presenting the cookie with each request causes the web server to reference the earlier successful login. One major flaw in some web applications is that they don't use random cookies. Instead, they use a guessable value. Let's go ahead and take a look at an example. Once again, we'll turn to the WebGoat Application Security Demonstration Tool and the ZAP Web Proxy. This time, we're using a simple web application that asks for a username and a password and has a login button. I have two accounts that I know exist on this server, and I'm going to go ahead and start the ZAP Application Proxy and tell it to intercept the login request. I go back to the application. The first…
Contents
-
-
-
-
-
-
-
-
(Locked)
Preventing SQL injection4m 25s
-
(Locked)
Understanding cross-site scripting3m 17s
-
(Locked)
Request forgery4m 8s
-
(Locked)
Overflow attacks3m 21s
-
(Locked)
Explaining cookies and attachments4m 7s
-
(Locked)
Session hijacking4m 8s
-
(Locked)
Code execution attacks2m 43s
-
(Locked)
Privilege escalation1m 56s
-
(Locked)
OWASP Top Ten4m 45s
-
(Locked)
Application security4m 3s
-
(Locked)
Defending against directory traversal3m 4s
-
(Locked)
Race condition vulnerabilities2m 13s
-
(Locked)
-
-
-
-