FourGoats Vulnerabilities: Hardcoded Backdoor

If we keep on reading the Login activity, we will soon spot an asynchronous task used to validate the user credentials in the server and we will see that there is a harcoded user/password pair that will set up the admin property and so it will enable us to access the AdminHome Activity:

if (userName.equals("customerservice")  && password.equals("Acc0uNTM@n@g3mEnT")) userInfo.put("isAdmin", "true");

If we enter these credentials (and the user is registered in the backend), we will be able to access the AdminHome Activity:

Admin

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s