WEBVTT
Kind: captions
Language: en

00:00:00.000 --> 00:00:05.800 align:start position:19%
Welcome back to another episode of Bros
Demonzation Speedrun. When it comes to

00:00:03.760 --> 00:00:10.400 align:start position:19%
digital privacy, it always seems like
Europe comes out ahead of the US. With

00:00:07.960 --> 00:00:15.280 align:start position:19%
their GDPR regulations, your personal
info is confidential and out of the

00:00:12.560 --> 00:00:19.440 align:start position:19%
wrong hands. However, recently a major
loophole was just discovered in the

00:00:17.320 --> 00:00:23.320 align:start position:19%
GDPR. You guys aren't going to believe
this, but the loophole is called

00:00:21.040 --> 00:00:27.320 align:start position:19%
ignoring it. Turns out nearly a million
passports and photo IDs were left

00:00:25.360 --> 00:00:30.640 align:start position:19%
unprotected on the public internet. Gee,
where have we heard this before? And we

00:00:28.680 --> 00:00:35.200 align:start position:19%
owe this giant leak to a establishments
in Spain that are called cannabis clubs.

00:00:33.080 --> 00:00:39.400 align:start position:19%
Now, I didn't know this was a thing, but
apparently in Spain to enjoy yourself

00:00:37.280 --> 00:00:43.080 align:start position:19%
some of the old jazz tobacco, you have
to go to one of these invite-only clubs.

00:00:41.760 --> 00:00:46.040 align:start position:19%
You typically get this invite by
reaching out to the club on social

00:00:44.560 --> 00:00:50.560 align:start position:19%
media, and there's a lot of different
rules associated with it. Apparently,

00:00:47.840 --> 00:00:53.840 align:start position:19%
cannabis in Spain is a very large legal
gray area, and it's been that way for a

00:00:52.360 --> 00:00:57.560 align:start position:19%
long time. I'll leave a link to an
interesting Reddit post about it down

00:00:55.160 --> 00:01:02.080 align:start position:19%
below, but anyway, a security researcher
by the name of Sammy Azdaf or Natsa,

00:01:00.320 --> 00:01:06.880 align:start position:19%
sorry if I butchered your name, found
the public URLs of all of these IDs of

00:01:05.360 --> 00:01:11.920 align:start position:19%
all of the people that visited these
clubs with no password or access control

00:01:09.560 --> 00:01:15.600 align:start position:19%
of any sort. So, how did he find them?
Well, it turns out these clubs use an

00:01:13.640 --> 00:01:19.760 align:start position:19%
app called Puff Pal to register their
customers, which is made by a company

00:01:17.400 --> 00:01:23.840 align:start position:19%
called Cannabis Club Systems. When Natsa
decompiled this app, he immediately

00:01:21.840 --> 00:01:27.640 align:start position:19%
found a Stripe secret key hard-coded in
the app. He saw that the user ID

00:01:25.480 --> 00:01:32.160 align:start position:19%
parameter was a sequential integer, so
using his own user ID, he basically just

00:01:30.120 --> 00:01:35.960 align:start position:19%
added a one and it returned an entirely
different person's ID with no

00:01:33.840 --> 00:01:40.040 align:start position:19%
authentication. So, Natsa wrote a loop
that did this over and over again and

00:01:37.880 --> 00:01:44.120 align:start position:19%
got a million IDs. The format of the
URLs themselves are very predictable and

00:01:42.320 --> 00:01:46.520 align:start position:19%
require no authentication. So,
technically, [music]

00:01:44.800 --> 00:01:50.600 align:start position:19%
anybody could have found these while
browsing the internet. And if that's not

00:01:48.320 --> 00:01:55.080 align:start position:19%
bad enough for you, he found hard-coded
Firebase credentials right in the APK.

00:01:53.200 --> 00:01:58.560 align:start position:19%
For reference, Firebase is Google's
back-end as a service that it offers

00:01:56.591 --> 00:02:03.240 align:start position:19%
[music] to developers. So, yeah, just by
decompiling the app, he got a million

00:02:00.800 --> 00:02:07.320 align:start position:19%
IDs and even medical information because
apparently dosage, which is considered

00:02:05.120 --> 00:02:11.920 align:start position:19%
by the GDPR as medical information, was
recorded, too. And to add insult to

00:02:09.080 --> 00:02:15.920 align:start position:19%
injury, he also has full back end access
to the entire service. I'm actually very

00:02:14.000 --> 00:02:19.800 align:start position:19%
surprised that a ransomware gang didn't
get a hold of this beforehand. So, now

00:02:17.680 --> 00:02:24.120 align:start position:19%
the question is, how did Cannabis Club
Systems ignore the GDPR? You know, other

00:02:22.000 --> 00:02:27.160 align:start position:19%
than insecurely storing IDs and medical
data.

00:02:24.640 --> 00:02:31.080 align:start position:19%
&gt;&gt; Well, the GDPR requires a 72-hour
notification window for reporting

00:02:28.800 --> 00:02:35.120 align:start position:19%
security incidents. Nosta sent four
emails over eight days that all went

00:02:33.160 --> 00:02:39.160 align:start position:19%
unanswered. In fact, he didn't even get
a response. 28 days later, he actually

00:02:37.520 --> 00:02:42.920 align:start position:19%
had to reach out to the Verge of all
things telling them what happened. Now,

00:02:41.200 --> 00:02:47.520 align:start position:19%
after a month of pressure, the company
has taken down Puff Pal and shut down

00:02:45.280 --> 00:02:52.360 align:start position:19%
the vulnerable APIs. So, what is our
takeaway from this? Well, even the

00:02:49.360 --> 00:02:56.000 align:start position:19%
all-powerful GDPR was no match for
somebody just ignoring it.

00:02:53.959 --> 00:03:00.160 align:start position:19%
&gt;&gt; And with ID verification becoming one of
the fastest growing tech sectors, we're

00:02:58.600 --> 00:03:04.160 align:start position:19%
going to be seeing a lot more stories
like this, especially if you watch

00:03:02.959 --> 00:03:07.400 align:start position:19%
YouTube videos.
&gt;&gt; Oh, brother.

00:03:05.760 --> 00:03:11.160 align:start position:19%
&gt;&gt; Thank you guys so much for watching and
as always, a special thanks to the Based

00:03:09.560 --> 00:03:14.720 align:start position:19%
Enjoyers for supporting the channel
directly. I honestly can't believe how

00:03:13.200 --> 00:03:18.320 align:start position:19%
many of you guys there are now. I
appreciate every one of you. Hope you

00:03:16.440 --> 00:03:22.360 align:start position:19%
got something out of this video and I'll
catch you guys in the next [music] one.

