OWASP

Course
Time
4 hours 32 minutes
Difficulty
Beginner
CEU/CPE
5

Video Transcription

00:01
Hi, everyone. Welcome back to the course. So in the last video, we went ahead and created our student user account. We also loved it is a student user. And we took a look at the top right of the screen to make sure that the student was the user that we were long Dennis.
00:14
In this video, we're gonna go ahead and finish out the rest of our lab on broken authentication, So we'll go ahead and edit the cookie on. And it's not a chocolate chip cookie. So if you're getting hungry right now, it's not one of those. But we're gonna go ahead and edit our cookie, and we're gonna see if, by doing that, we can actually escalate our privileges and potentially log be lugging is a different
00:34
user.
00:35
So we'll take a look at that a little later and see if we can get loved it as a different user. But let's go ahead and get our cookie set up now.
00:43
So what we're gonna do is we're gonna click this
00:47
lucky icon here at the top. Excuse me, Is that the kind of the top of the page here? But it's not the right of the Earl section. So it looks like a little cookie. We're gonna select this little drop down menu here, and then we're gonna click on this search Mattila Day option.
01:00
So go ahead and click all that.
01:03
You'll see it pulls up some different cookies in the back ground forces options.
01:07
So we see here a step 15 that the papa box it did open for us.
01:11
Now, what we're gonna do is we're gonna make sure that the the check box next to the U I. D option is checked. So that's what we want to take a look at in most cases, and as you'll see here in a second and should default with that check market it. But if it doesn't for some reason, you would just want to check the box so you'll see on my end, it did default.
01:30
But, for example, we pulled up and it looked like that
01:33
we would just want to make sure we click on in the box there and check it.
01:37
All right, let's go back to our lab document.
01:40
So once we've checked it, we're in. Click on the edit button down at the bottom of this papa box, and we're gonna change the value in the content bus. We're gonna change it to be a one instead of the 24. Now that the rationale behind this is, in many cases, a administrator, top of account is gonna be something like a zero or one.
01:59
And then, like you're generalized seizures
02:00
would start going up, you know, in number from there s O, for example, like 24 would be a later user, Kim. And that may or may not have administrative privileges, but they're not a specifically designated as the administrator account. So we're changing it to a one in the hopes that we will be able to
02:16
take over the admin account. And Logan is the administrator.
02:21
So let's go ahead and do that now.
02:23
So, Beckett or Papa box here, we're gonna click the edit button at the bottom
02:28
under the content box. You'll see it has a number 24. What is going to change that to a one,
02:32
and then we're gonna select the save button here.
02:37
All right, So once we've done that, our last option here, Susan, our last step is gonna be just click of the close button on our pop up box, and then we're gonna click back on home here at the top left. And what we want to do is we want to look
02:50
at the top right of our screen after we do all that kind of like we did before when we went ahead and created a student account of loved. And it's a student. We've verified that the student was logged in. We're gonna look again in that same area. So first things first, Let's go ahead and click close here to closer Papa box.
03:06
Next, we're gonna click home at the top of left here. Doesn't take us back to the home page.
03:12
And then what I want you to do is I want you to take a look at the top of right of the screen and
03:16
who's logged in. Now where we lock down is now Are we still a student or we have been talking to somebody else?
03:23
All right, So if you notice at least on my end on London, as as the administrator now, if you're successful in performing the alteration of that cookie, then you should also see that you're loved NSC administrator.
03:38
All right, So question three here is just basically telling you to click on different pages throughout the site on we want to see dusty user account changed back. It also doesn't change back to student as we click through different items on this site.
03:53
All right, so do we see it up? Looks like we still got admin, and we get the little pop up there. That's kind of kind of annoying hum that gets in our way there. But we see admin there. Okay, well, let's try to click someplace else. Let's see what happens. I'll just click a random thing here, Um, he and we'll go back to 2017 so it just makes a little more sense.
04:12
So let's see. Here you are. We still loving this admin up? We are. So you get the idea, right? No matter where we go now on the site, we should be still loving is an admin. So we could potentially compromise things and do different things.
04:24
All right, so this is kind of a quick lab on broken authentication, recovered some generalized information as far as like, creating a user account. Look verifying we logged in disease or account and then altering a cookie to take control of the administrator account on the system on. And that way we can act a CME in and do
04:41
potentially in a fairy stinks. Of course, we're all good people who are not doing that.
04:45
But if we were a bad person, we could Do you know, various things to this particular weather application
04:50
are so in the next module were to go ahead and cover sensitive data exposures. We again, we just finished up our discussion on broken authentication and our lab on broken authentication. And now we're gonna jump into sensitive data exposure. What is it? Why do we care on what the impact might be to the organization?

Up Next

OWASP

Established in 2001, the Open Web Application Security Project (OWASP) offers free security tools and resources to help organizations protect critical apps. Cybrary’s OWASP training course covers the organization’s popular “Top 10” risk assessment.

Instructed By

Instructor Profile Image
Ken Underhill
Master Instructor at Cybrary
Master Instructor