Lab: SQL injection vulnerability allowing login bypass

Solution:

administrator'-- -

This lab contains an SQL injectionarrow-up-right vulnerability in the login function.

To solve the lab, perform an SQL injection attack that logs in to the application as the administrator user.

Steps:

  1. try to inject test' and test' in the user and password.

  2. so try to inject in username with administrator and ignore the password field

What happened in the backend:

Last updated