TryHackMe: OWASP Top 10(Day 2) Beginner friendly walkthrough

3 years ago 289
BOOK THIS SPACE FOR AD
ARTICLE AD

Cyber Defecers

Image for post

Image for post

OWASP top 10 Room

Room Link: https://tryhackme.com/room/owasptop10

[Day 2] Broken Authentication:

Image for post

Image for post

Broken Authentication

Refer below link for Broken Authentication Theory part:

Practical:

Image for post

Image for post

Questions:

Image for post

Image for post

Q.1 What is the flag that you found in Darren's account?

As per the instructions we have Darren username. so I tried to make an another account with the same username but it throws me an error saying that this account already exists.

Image for post

Image for post

So I remembered the theory part of the challenge, they mentioned that if we can add {space} in the username. eg { Mayur}& make an account then it will give us the existing user's account.so I followed the same methodology & made an account with darren username.

Image for post

Image for post

After successful registration. I logged into account & there I got my first flag.

Flag1:

Image for post

Image for post

Flag1

Q.3 What is the flag that you found in Arthur's account?

Flag2:

for flag 2 we can apply same methodology. register a new account with Arthur username.

Image for post

Image for post

after login, it will give me flag2.

Image for post

Image for post

Flag2

Note: i blurred the flag. follow my methodology & you will get both the flags.

Conclusion:

at the end of this blog, I want to tell you something that why this vulnerability occurs.

in this challenge, it only validates username, & also these fields are not properly sanitized. because no one will use space in their username.

Reference:

Author: Mayur Parmar (th3cyb3rc0p)

Follow me on Twitter & LinkedIn( mostly I will share tips on these social media platforms)

https://twitter.com/th3cyb3rc0p?lang=en

https://in.linkedin.com/in/th3cyb3rc0p

https://www.instagram.com/th3cyb3rc0p/?hl=en

https://twitter.com/cyberdefecers?lang=en

Read Entire Article