WEBVTT

00:00.000 --> 00:03.520
It is my pleasure to introduce Vikas to the stage.

00:03.520 --> 00:04.840
Let's give him a round of applause.

00:10.580 --> 00:11.600
Hello.

00:11.940 --> 00:14.060
I hope you can hear me.

00:14.440 --> 00:16.180
Thanks for the warm welcome.

00:17.100 --> 00:22.040
So welcome to the talk and I hope you are having a good time so far.

00:22.260 --> 00:27.140
So my topic for today is authentication bypass and account takeovers.

00:27.720 --> 00:37.160
So this talk is for people who are in pentesting, who are doing red teaming activities and who are in bug bounty hunting.

00:37.300 --> 00:42.080
Other than that, if you are a student or new to this field, this is for you as well.

00:42.080 --> 00:43.900
So I hope you will enjoy it.

00:45.400 --> 00:46.320
All right.

00:46.320 --> 00:51.280
So the agenda for today's talk is I have divided it in three different phases.

00:51.280 --> 00:52.680
First is introduction.

00:52.680 --> 01:01.020
I will discuss about what authentication is, why it's so crucial and what are the different modules where you can look for such bugs.

01:01.020 --> 01:13.920
The phase two is techniques and vulnerabilities, which I personally use to take all the accounts and bypass the authentications during my entire career.

01:13.920 --> 01:21.520
I mean, I have eight years of experience and I have used these techniques during the pentesting activities, red teaming activities and bug bounty hunting.

01:22.080 --> 01:29.120
The third phase is I identified account takeover or authentication bypassing Apple.

01:29.120 --> 01:30.660
I will disclose that.

01:33.150 --> 01:35.490
A little bit about myself.

01:35.630 --> 01:37.130
My name is Vikas Khanna.

01:37.130 --> 01:39.990
I am a technical specialist at Privasec.

01:39.990 --> 01:46.450
My key focus is on AppSec, web applications, API security.

01:46.830 --> 01:52.130
Whenever I'm not working on my professional stuff, I am a bit active on bug bounty hunting.

01:52.510 --> 01:58.890
I got acknowledgments from companies like Google, Microsoft, Apple and many more.

01:58.890 --> 02:01.810
Other than that, I have contributed to the community.

02:01.810 --> 02:08.050
I have contributed to OWASP, WSTG and OWASP www community.

02:08.570 --> 02:15.770
Other than that, I have a few CVs from Oracle and IBM for reporting them issues in their enterprise products.

02:16.670 --> 02:17.790
All right.

02:17.990 --> 02:19.530
So what is authentication?

02:19.530 --> 02:35.070
Basically authentication is a process to verify a user or a system that they are what they are claiming to be by verifying their credentials in terms of their user names, password, digital signatures and many more things.

02:36.010 --> 02:38.590
Authentication is very crucial.

02:38.590 --> 02:52.050
For example, there are post-login modules which are having sensitive information, your PIIs and information which not everybody should be able to see without logging into the application.

02:52.050 --> 02:54.250
So that is why authentication is very crucial.

02:55.390 --> 02:56.350
Okay.

02:56.350 --> 03:09.630
So whenever we are hunting for authentication bypass and account takeovers, these are the abusable vectors or functionalities where you can focus on.

03:10.170 --> 03:19.530
Basically I have identified issues in these features, these functionalities, but this bug is not limited to these features only.

03:19.530 --> 03:21.010
I mean you can explore.

03:21.010 --> 03:23.390
But this is based on my experience.

03:25.250 --> 03:26.290
Okay.

03:26.290 --> 03:35.010
Real-time abuse vectors like vulnerabilities and techniques which you can use basically to take over the accounts and bypass those indications.

03:35.990 --> 03:36.850
All right.

03:36.850 --> 03:39.550
First vulnerability is session puzzling.

03:39.550 --> 03:40.590
What is session puzzling?

03:40.590 --> 03:48.570
Session puzzling is like whenever you have extra permissions on your session ID.

03:48.850 --> 04:06.030
For example, you are in pre-login stage and for some modules or some activities you got a session ID and that session ID is misconfigured and having a permission over permission which you can use to access the post-login modules as well.

04:06.290 --> 04:11.070
Basically it's in pre-login stage but you can access post-login modules as well.

04:12.670 --> 04:14.030
All right.

04:14.030 --> 04:17.690
So the example for this is forgot password functionality.

04:17.690 --> 04:20.310
How forgot password functionality works?

04:20.310 --> 04:22.770
Like there is a forgot password module.

04:22.770 --> 04:24.670
You can enter your email ID.

04:24.670 --> 04:33.510
Application will redirect you to another page where application will ask you for OTPs or maybe security questions.

04:33.510 --> 04:44.070
And if you provide OTP, correct OTP or correct security questions answer, application will redirect you to another page where you can enter the new password and change the password.

04:44.070 --> 04:56.470
But for the second page where application is asking for security questions answer or OTP, application have created a session which is linked with your email ID which you provided on the first page.

04:56.630 --> 05:14.510
But that if the application is misconfigured and that session variable, session ID is having over permissions you can without entering the security answer or OTP you can access the post-login modules by just using that particular session ID because it is activated globally.

05:14.890 --> 05:21.170
So this issue I have identified in Apple and I will show in the later slides.

05:22.970 --> 05:23.750
All right.

05:23.750 --> 05:26.350
Other vulnerability session fixation.

05:26.470 --> 05:34.030
As name suggests that in this vulnerability you can fix the session in pre-login stage.

05:34.030 --> 05:40.590
Basically the pre-login and post-login session variables value will remain same.

05:40.590 --> 05:47.010
It will be just the state of the session token which will become active or deactive.

05:47.410 --> 05:48.070
All right.

05:48.070 --> 05:52.750
So there are two ways we can use this vulnerability.

05:53.070 --> 05:59.470
One is whenever your victim is in the remote location.

05:59.470 --> 06:01.370
So how you can leverage that?

06:01.710 --> 06:13.530
So if you are able to get the session ID in URL in pre-login stage what you can do, you can copy that and send it to your victims.

06:13.830 --> 06:14.170
All right.

06:14.170 --> 06:24.810
Whenever your victim will click on that link, since the link belongs to the legitimate application, victim will click on that and will enter the credentials.

06:25.050 --> 06:30.050
When victim will enter the credentials, the session ID will become in an active state.

06:30.390 --> 06:39.170
Since you are the one, you are the attacker, you have the session ID, you can use it on your machine and you can log in to the victim's account directly.

06:39.170 --> 06:40.810
You don't have to enter the passwords.

06:41.330 --> 06:45.950
So that's how you can bypass the authentication and take over the accounts.

06:46.170 --> 06:49.650
This is when your victim is remote.

06:49.650 --> 06:58.150
The other thing is whenever let's say you are working on a shared machine, there is a machine which is shared by multiple users.

06:58.150 --> 07:02.730
So what you can do, you can go to that machine, you can copy the cookies.

07:02.930 --> 07:15.410
Since pre-login and post-login cookie will be same, you can just copy that and whenever your victim will log in to that particular application, you can use that cookie and you can bypass the authentication by using victim's account.

07:17.330 --> 07:18.390
All right.

07:18.390 --> 07:22.150
The other is access control checks.

07:22.830 --> 07:24.890
IDRs, IDRs are best friends.

07:24.890 --> 07:31.950
We can use that to perform a number of activities and one of them is account takeovers and authentication bypasses.

07:31.950 --> 07:33.310
So how you can take over the accounts.

07:33.310 --> 07:42.630
For example, application performing some sort of sensitive activities like change password, update profiles by just checking the user's ID.

07:43.150 --> 07:46.030
Sometimes it's in even hidden parameters.

07:46.170 --> 07:57.630
You can use tools like client side proxy tool like Bob suit and you can just modify the user ID and if the application is vulnerable, you will be able to take over the accounts of your victims.

07:58.090 --> 08:00.130
The other is privilege escalations.

08:00.810 --> 08:05.130
Let's say if you are performing gray box assessments as a pen tester.

08:05.730 --> 08:14.290
So you will be aware with admin level modules as well and non-privileged user or non-admin users modules as well.

08:14.290 --> 08:20.310
So you can log in into the least privileged user account and you can try to access the admin account.

08:20.610 --> 08:27.130
And if the application is vulnerable to access controls and privilege escalations, you can access the admin level modules.

08:28.090 --> 08:41.590
Depending on the application's functionality, let's say there could be a number of sensitive modules where you can play with maybe let's say there is an admin module where you can see the number of users.

08:41.630 --> 08:43.410
You can deactivate their accounts.

08:43.410 --> 08:45.610
You can change their passwords.

08:45.650 --> 08:46.910
You can block them.

08:47.250 --> 08:50.530
Depending on the application's functionality, you can do a number of things.

08:51.130 --> 08:52.950
Other thing is forced browsing.

08:53.590 --> 09:03.570
Forced browsing is something when you are forcefully trying to access post authentication modules by just hitting them without providing any credentials.

09:03.730 --> 09:09.090
If there is access control bug, you will be able to access the post login modules as well.

09:09.230 --> 09:16.670
And let's say there are configuration files which are not linked with the application but are still present in the server.

09:16.870 --> 09:26.310
So you can access those configuration files and it will share, it will disclose a lot of sensitive information depending on what kind of configuration file is there.

09:27.190 --> 09:28.670
All right.

09:28.830 --> 09:36.330
Next is password reset link hijacking or poisoning by using host header injection.

09:37.030 --> 09:41.530
So let me explain what is host header injection and how it works first.

09:41.530 --> 09:44.090
Then we will dig into how we can abuse it.

09:44.470 --> 10:00.750
So whenever you are hitting an application, application verifies, okay, what's the value of host header, its origin, and accordingly application will fetch the responses from that particular application server and assign to you the resources.

10:02.110 --> 10:09.270
So whenever you are having redirection, 301, 302, you can use host header vulnerability.

10:09.270 --> 10:18.990
You can change the host header's value and you can check the location header if your host header's value is getting reflected into the location header in the response itself.

10:19.390 --> 10:21.730
How you can use it to take over the accounts?

10:21.830 --> 10:36.390
So for example, there's a password functionality, you can go there, you can enter your victim's email ID, you can capture the request by using Bubsuit and you can change the host value to the domain which you can control.

10:36.810 --> 10:37.490
All right.

10:37.490 --> 10:41.310
So here 0xnoob is, for example, my domain.

10:41.310 --> 10:42.410
I'm an attacker.

10:42.570 --> 10:43.150
All right.

10:43.150 --> 10:50.510
So I can enter my victim's email ID, I can capture the request, and I can change the host header value to 0xnoob.

10:50.850 --> 10:52.150
So what application will do?

10:52.150 --> 10:54.010
How forgot password functionality works?

10:54.010 --> 11:00.350
Application will send you a reset token link to your email ID, you can click on that and update the password.

11:00.530 --> 11:19.030
But here, since you have updated the host header value, application server will send a password reset link to your email ID with the password reset token, but the URL which will be embedded will be 0xnoob, or the domain which you will provide.

11:19.510 --> 11:20.130
All right.

11:20.130 --> 11:27.250
So since it is coming from the legitimate application server, victim will click on the link.

11:27.250 --> 11:29.650
You can use it in red teaming activities.

11:29.810 --> 11:32.570
You can try it on pentesting, bug bounty hunting.

11:33.290 --> 11:44.130
Victim will click on that particular link, and you can go to your server logs, and you can capture the, you can grab the reset token.

11:44.130 --> 11:49.650
Since it's still in the active state, because victim haven't used it on legitimate application yet.

11:49.830 --> 12:00.190
So you can go to the legitimate application and embed that particular token, and that's how you can take over the accounts, because a token is still in active state.

12:00.190 --> 12:04.510
You can enter the credentials, and you can change the credentials of your victim.

12:04.530 --> 12:06.370
That's how you can take over the accounts.

12:08.250 --> 12:09.430
JS files.

12:10.250 --> 12:14.830
A lot of people usually don't get into the JS files.

12:14.830 --> 12:16.710
They don't bother about it.

12:16.710 --> 12:28.950
But JS files are something which are very crucial, and sometimes it's having some sort of sensitive stuff, funny stuff, I mean, depending on, you know, what sort of stuff is that.

12:28.950 --> 12:36.390
So you can find API keys, you can find credentials, you can even find the sensitive API endpoints.

12:38.790 --> 12:40.110
PHP type juggling.

12:40.110 --> 12:41.430
Give me a moment.

12:51.040 --> 12:54.960
So type juggling is a feature of PHP.

12:55.260 --> 12:56.880
What does it mean?

12:57.000 --> 13:04.260
So it's a functionality of PHP where you can have a lot of different parameters, where you don't have to define the data types.

13:04.260 --> 13:05.860
PHP will do it for you.

13:06.560 --> 13:18.020
Whenever PHP will perform any operations or comparisons on the variables or parameters, PHP will convert the data type accordingly and perform the action.

13:18.340 --> 13:25.660
For example, the first parameter is number 1, which is a string, 10 is in double quotes.

13:25.780 --> 13:30.040
The second parameter is number 2, which is 5, which is integer.

13:30.460 --> 13:34.400
And in third parameter, we are performing operation, additional operation.

13:34.720 --> 13:45.280
So whenever we are performing addition, PHP will convert string, which is 10, to an integer and will perform the addition operation.

13:45.420 --> 13:48.460
So the result will be 15.

13:48.460 --> 13:50.140
10 plus 5 is 15.

13:51.120 --> 13:54.660
So the other thing is comparison.

13:54.660 --> 14:00.220
Whenever PHP will perform a comparison by using 2 times equals 2.

14:01.120 --> 14:06.760
So what PHP will do, first parameter here is integer, second is string.

14:06.820 --> 14:10.560
So the second parameter's value is 10 abc, which is a string.

14:10.560 --> 14:21.420
Whenever you will perform a comparison operation here, PHP will convert that string 10 abc to 10, which will become integer.

14:21.420 --> 14:24.600
And then PHP will perform the action accordingly.

14:24.600 --> 14:28.220
So 10 is equal to 10, so the result will be equals.

14:28.540 --> 14:31.580
How we can leverage it to take over the accounts.

14:33.740 --> 14:41.680
So let's say there is a value of parameter which don't have the integer.

14:41.920 --> 14:52.980
So if you will convert that string with the integer, PHP will convert that string to zero and then it will compare with the user's provided input.

14:53.040 --> 15:01.000
So for example, the admin's password is not having integer value, having a string only.

15:01.280 --> 15:05.180
So as an attacker, you can mention zero in the password.

15:05.640 --> 15:08.320
PHP will compare it with admin password.

15:08.320 --> 15:10.000
Admin password is a string.

15:10.440 --> 15:17.040
PHP will convert admin's password to zero and zero is equal to zero will become a true statement.

15:17.140 --> 15:19.720
That's how you can bypass the authentication.

15:20.100 --> 15:22.380
But there is a prerequisite.

15:22.980 --> 15:28.200
It should be JSON or serialized object.

15:28.200 --> 15:30.660
Then only you will be able to perform this attack.

15:33.460 --> 15:49.000
CSRF, let's say if in the application CSRF tokens are missing and there is no CSRF protection and there is a module where you can update the mobile number, email ID, you can craft a HTML page and send it to your victim.

15:49.000 --> 15:57.340
If that victim is logged in into their account, you can literally update their mobile numbers and email address.

15:57.340 --> 16:11.440
Once you will be able to do that, you can request for forward password by entering the email or mobile number which you have mentioned during the HTML page creation.

16:11.440 --> 16:23.080
Then you can take over their accounts because application will send the OTPs or password reset links to their phone number and email ID which belongs to the victim's account.

16:23.520 --> 16:36.640
Let's say if there is a forward password functionality where application is not asking for old passwords and application is vulnerable to CSRF, you can just craft a request and send to your victim and you will be able to change the password.

16:36.640 --> 16:38.580
From there you can take over their accounts.

16:39.680 --> 16:41.540
HTTP parameter pollution.

16:41.780 --> 16:53.860
It's a vulnerability where you can mention multiple parameters with the same name but the values will be different and the application will perform the action on the basis of that.

16:54.200 --> 17:10.840
So let's say there is a forward password functionality and you can mention maybe you can use that one parameter for twice, for two times and mention the victim's email ID plus your own email ID.

17:10.880 --> 17:17.640
So if the application is vulnerable, application will send password reset token to both the email IDs.

17:17.880 --> 17:21.180
But it will be activated for one account only.

17:21.180 --> 17:25.040
Depending on how application is doing that.

17:25.040 --> 17:28.640
Maybe it is validating the first parameter or second parameter.

17:28.640 --> 17:29.900
That you have to figure out.

17:29.900 --> 17:31.860
It depends on different applications.

17:32.780 --> 17:43.840
So accordingly, let's say whenever you receive that link, you can just go to application and you can just change the password of your victim and you can take over the account.

17:43.840 --> 17:50.600
You can try this on reset password, update password, wherever you are receiving OTPs you can try that vulnerability.

17:52.260 --> 17:57.740
Authentication bypasses by using response manipulation.

17:58.760 --> 18:07.220
So a few applications are validating the previous response and then perform the next action.

18:07.220 --> 18:13.600
So let's say the response is on the basis of true or false.

18:13.600 --> 18:19.620
If you have provided the right credentials, application is throwing you the true response.

18:19.840 --> 18:27.200
And if you have provided the wrong credentials, application will throw the false response.

18:27.200 --> 18:31.000
So you can change that to true and you can perform the next action.

18:31.000 --> 18:31.920
You can bypass.

18:32.560 --> 18:35.700
Accordingly, you can manipulate the status codes.

18:36.060 --> 18:46.820
If application is throwing 400 or something for wrong credentials and throwing 200 OK for right credentials, you can try to manipulate that.

18:49.760 --> 18:54.600
Two-factor authentication or OTP, you can break that.

18:54.980 --> 18:55.700
How?

18:56.040 --> 19:01.160
So whenever you are performing pen testing specially, you can use these things.

19:01.580 --> 19:05.860
You can check for the integrity validation of OTPs.

19:05.860 --> 19:12.660
For example, I can send OTP to my mobile number and send OTP to my victim's mobile number.

19:12.660 --> 19:17.000
So these two OTPs are in active state now.

19:17.020 --> 19:22.960
Because neither I used nor my victim used it for now.

19:22.960 --> 19:23.880
So what can I do?

19:23.880 --> 19:27.780
Since both the OTPs are in active state, I can check the integrity.

19:27.820 --> 19:36.140
I can try my OTP on my victim's account just to validate that application is checking the integrity of the OTP or not.

19:36.140 --> 19:37.760
And trust me, it's still working.

19:40.360 --> 19:44.760
Reusability of OTPs, you can try to reuse the OTPs.

19:45.040 --> 19:53.440
And the third one is I found it in one of the most popular banks.

19:54.120 --> 19:58.080
So they were disclosing the OTPs in the responses.

19:59.480 --> 20:03.480
So I mean, go for it, check for responses as well.

20:03.540 --> 20:07.360
Master OTPs, I found it in one of the net banking applications.

20:07.520 --> 20:10.120
The master OTP was six times zeros.

20:10.960 --> 20:13.900
So you can log into any account by using six times zero.

20:13.900 --> 20:16.800
I mean, you can try for other stuff also.

20:16.920 --> 20:18.400
So go for it.

20:20.480 --> 20:21.320
All right.

20:21.320 --> 20:22.400
Brute force.

20:23.600 --> 20:29.780
So whenever we are thinking about brute force, we are trying to brute force the passwords.

20:30.160 --> 20:34.100
We can try another way as well by using password spraying attack.

20:34.100 --> 20:38.660
We can brute force the emails by using one password.

20:38.660 --> 20:42.260
We have one password and we can try that on multiple users.

20:42.260 --> 20:45.120
We can try to brute force in that way as well.

20:45.140 --> 20:51.100
So whenever you are performing red teaming activities or bug hunting or something, you just need one account to perform your actions.

20:51.640 --> 20:54.160
So this will be very handy.

20:54.760 --> 20:59.140
Try to check if there are rate limiting controls are enabled or not.

20:59.280 --> 21:08.340
Other than that, sometimes application is blocking your IP address whenever you are performing brute force attacks.

21:08.340 --> 21:12.000
So you can hop on different IP addresses.

21:12.000 --> 21:16.700
You can change your IP addresses depending on how application is blocking it.

21:16.700 --> 21:19.380
Maybe after 15 requests or 50 requests.

21:19.600 --> 21:25.520
And just before less application is blocking IP after every 50 requests.

21:25.520 --> 21:28.600
You know, within maybe some sort of time foundation.

21:28.700 --> 21:33.360
So you can change your IP on 49th attempt.

21:33.360 --> 21:35.240
Accordingly, you can try that.

21:36.740 --> 21:44.500
You can send multiple credentials in request to validate that, I mean, it is working or not.

21:44.540 --> 21:49.500
There is a very, very good lab of web security academy.

21:49.500 --> 21:51.200
Please check that.

21:52.220 --> 21:53.320
Default credentials.

21:53.320 --> 21:58.120
If you are, okay, this is very, very handy in red teaming activities.

21:58.680 --> 22:03.620
So, I mean, almost every organization is using enterprise products.

22:04.000 --> 22:04.680
Go for it.

22:04.680 --> 22:06.600
Check for the default credentials.

22:06.600 --> 22:07.800
I mean, it's still working.

22:07.800 --> 22:09.520
I usually find that.

22:10.320 --> 22:11.220
WordPress.

22:11.220 --> 22:15.560
It is one of the most popular CMS.

22:15.940 --> 22:27.980
So there is a so-called feature in WordPress where you can use author parameter just to verify that what's the user name of one.

22:27.980 --> 22:34.520
I mean, let's say if you will enter the author's value one, it will show you the first user of that particular application.

22:34.540 --> 22:39.500
If you will change it to two, it will show you the second user of that particular application.

22:39.500 --> 22:41.060
It will show you the user name.

22:41.060 --> 22:44.100
It will show you the posts which are done by that user.

22:44.100 --> 22:46.200
It might show you the comments as well.

22:46.600 --> 22:50.460
So accordingly, you can, you know, enumerate user's information.

22:51.020 --> 23:00.340
And whenever you are performing WP scan, don't perform directly from the, you know, without using API keys.

23:00.360 --> 23:01.700
Please use API key.

23:01.700 --> 23:03.680
You can go to WP scan website.

23:03.680 --> 23:05.900
You can get API key.

23:05.900 --> 23:07.140
It's free of cost.

23:07.160 --> 23:13.260
And by using that particular API key, if you will perform the WP scan, the results will be definitely different.

23:15.040 --> 23:24.460
In secure logout management, whenever you are working on pen testing, check for these things, especially for banking applications.

23:24.460 --> 23:26.440
For example, reuse of session.

23:26.440 --> 23:28.380
Check if you can reuse that particular session.

23:28.380 --> 23:30.760
Login to the application, logout from the application.

23:30.760 --> 23:34.200
Check if you can still use the old sessions.

23:34.820 --> 23:37.740
Close the browser for the sensitive applications.

23:37.740 --> 23:44.380
Whenever you are closing the browser, it should, you know, dissolve the entire session at the server side.

23:44.740 --> 23:54.140
Let's say if there is a net banking application and you are closing the browser, whenever you are again accessing the application by using new tab, it shouldn't work.

23:54.460 --> 23:56.600
Application should ask you for the login.

23:57.440 --> 24:01.080
Session should bound to IP address for sensitive applications.

24:01.080 --> 24:14.220
For example, as an attacker, if I am able to get the session of my victim, okay, but if that is bound to their IP address only, I won't be able to use that.

24:15.900 --> 24:17.140
Check for it.

24:17.480 --> 24:18.200
All right.

24:18.200 --> 24:22.240
So tips for red teamers and pen testers.

24:22.920 --> 24:26.500
Go to pastebin whenever you are performing red teaming activities.

24:26.620 --> 24:27.380
Go to pastebin.

24:27.380 --> 24:30.700
Pastebin have a lot of sensitive stuff.

24:31.180 --> 24:32.820
DHash, go for DHash.

24:32.820 --> 24:35.260
I mean, you can find the passwords of your victims.

24:35.740 --> 24:37.000
Open bug bounty.

24:37.060 --> 24:39.260
So this website is very handy.

24:39.260 --> 24:42.960
I use it multiple times and it helped me a lot.

24:43.020 --> 24:50.620
So you can find a lot of vulnerabilities which are identified by other attackers.

24:51.060 --> 24:51.440
All right.

24:51.440 --> 24:59.240
And they have disclosed those vulnerabilities publicly because the vendor is not entertaining them.

24:59.780 --> 25:00.580
All right.

25:00.580 --> 25:02.760
So you can use those vulnerabilities.

25:06.340 --> 25:10.160
My first bug, I found it in Apple.

25:10.180 --> 25:13.900
I found account takeover or authentication bypass basically.

25:13.900 --> 25:16.380
I will call it authentication bypass.

25:16.660 --> 25:19.000
So that was my first bug in Apple.

25:24.210 --> 25:31.730
So this was session puzzling which I explained in the earlier stage.

25:31.990 --> 25:42.630
So I was able to get the session variable which was active for post-login modules as well in the pre-login stage.

25:43.610 --> 25:46.590
So here I am on login page.

25:46.930 --> 25:48.650
I'm trying.

25:48.890 --> 25:49.370
Okay.

25:49.370 --> 25:52.630
Application is redirecting me to the login page only.

25:52.630 --> 25:55.430
There is a story behind that.

25:55.530 --> 25:59.010
So the domain name is InstaVision.Apple.com.

25:59.210 --> 26:06.650
If I will go to that domain directly, it will redirect me to the SSO of Apple.

26:06.650 --> 26:09.150
Based on my understanding it is a bit secure.

26:09.150 --> 26:11.290
I haven't tested that to be honest.

26:11.290 --> 26:15.290
But based on my understanding it is secure.

26:16.070 --> 26:28.110
So then I did some sort of Google docking and I got to know that there is a sub-directory with a random string folder name and there is a login module there.

26:28.130 --> 26:30.230
So I tried to hunt here.

26:33.550 --> 26:35.010
I removed the login page.

26:35.010 --> 26:38.550
Application is redirecting me to login again.

26:38.890 --> 26:40.050
Here it is.

26:42.070 --> 26:44.970
So application is asking me for a username and password.

26:44.970 --> 26:47.210
So I will say username and e-mail address.

26:47.890 --> 26:52.490
I provided a fake username and fake e-mail ID.

26:59.800 --> 27:01.000
Okay.

27:01.000 --> 27:02.180
I got an error.

27:02.540 --> 27:04.980
Please try again.

27:04.980 --> 27:21.160
But for this particular thing, when application was throwing me an error, application created a session which belongs to my e-mail ID and they have activated it for the entire application.

27:21.320 --> 27:23.780
And which was linked to the admin module.

27:28.750 --> 27:34.690
Now I tried to remove the login and try to access the sub-directory.

27:35.210 --> 27:36.110
Boom.

27:42.180 --> 27:43.540
Thank you.

27:45.690 --> 27:51.190
So here I was able to download the confidential details.

27:51.790 --> 27:55.830
I have blurred a few contents because of sensitive information.

27:56.230 --> 27:58.490
So yeah, I was able to download as well.

28:09.580 --> 28:10.420
Okay.

28:10.820 --> 28:13.560
Let's discuss if you have any questions.

28:15.440 --> 28:16.620
Yeah, please.

28:24.160 --> 28:32.780
So WP scan, if you will use it without API key, it will definitely give you results.

28:32.780 --> 28:43.680
But with API keys, I used it in some sort of CTS and even during my red teaming activities, it will give you extra privileges, extra features to use that.

28:43.900 --> 28:48.000
So by using that extra privileges, you can get more information.

28:49.600 --> 28:50.500
Sorry?

28:51.320 --> 28:52.640
No, no, no.

28:52.640 --> 28:58.600
You can go to WP scan website and you can create a custom key for yourself only.

28:58.600 --> 29:00.900
So that will be linked with your account.

29:02.740 --> 29:03.760
Yeah, please.

29:05.820 --> 29:06.940
Sorry?

29:07.280 --> 29:07.380
Yeah, please.

29:09.360 --> 29:11.440
Yeah, it is there.

29:11.780 --> 29:12.380
Yeah.

29:17.260 --> 29:20.540
No, so we were not discussing about traditional brute force.

29:20.540 --> 29:26.080
We were discussing about how you can, you know, if there is still, there is brute force protection, how you can bypass it.

29:26.080 --> 29:28.820
So we were discussing about bypasses.

29:33.700 --> 29:34.660
Yeah.

29:36.660 --> 29:37.620
Please.

29:53.560 --> 29:57.320
Obviously, I'm still exploring that, that particular things.

29:57.320 --> 29:58.220
So yeah.

30:02.190 --> 30:04.870
But yeah, when it question, I mean, I look into it.

30:04.870 --> 30:06.390
I'll definitely look into it.

30:07.530 --> 30:09.010
Thank you so much.

30:11.270 --> 30:11.970
Excuse me.

30:11.970 --> 30:12.890
Last thing.

30:13.030 --> 30:15.990
I'm still working on authentication bypasses stuff.

30:15.990 --> 30:22.830
And if someone from you guys is working on authentication bypasses, feel free to reach out to me.

30:22.830 --> 30:26.250
I will be more than happy to collaborate and, you know, work more on it.

30:26.250 --> 30:27.490
Thank you so much.

