Fireship · @fireship
How a simple mistake left Arc Browser wide open to hackers
Uploaded October 5, 2024 · Length 4:57
Summary
A catastrophic vulnerability in Arc Browser allowed hackers to execute code on any website, but was patched before exploitation.
- arc browser vulnerability
- firebase security
- cross-site scripting
- browser security
- cloud security
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
last week the arc web browser
- 0:01
experienced its first catastrophic
- 0:03
vulnerability where a hacker could gain
- 0:05
access to your browser to execute CSS
- 0:07
and Java Script on any website almost
- 0:09
like God mode cross-site scripting that
- 0:11
means an attacker could log your
- 0:13
passwords track your browser history
- 0:15
insert fake news into your favorite
- 0:16
websites and all sorts of other bad
- 0:18
things with the power of JavaScript
- 0:20
what's even more crazy though is that
- 0:21
all this could be accomplished without
- 0:22
the end user ever visiting a malicious
- 0:24
website that's horrifying if you're an
- 0:26
arc user but the good news is that this
- 0:28
issue has been patched and nobody got
- 0:30
exploited the big question though is how
- 0:31
could something so catastrophic happen
- 0:33
to a product which itself is based on
- 0:35
the highly secure Chromium browser
- 0:37
engine well the root cause comes down to
- 0:39
misconfigured security rules on my
- 0:41
favorite big ass backend Firebase in
- 0:43
today's video we'll find out how Arc
- 0:45
narrowly avoided an iceberg and who to
- 0:46
point fingers at and blame for this
- 0:48
issue it is October 4th 2024 and you're
- 0:50
watching the code report on its website
- 0:52
Arc claims to be the Chrome replacement
- 0:54
you've been waiting for built from the
- 0:55
ground up to be private and secure if
- 0:57
you haven't used it yet Arc is a very
- 0:59
cool brow owser that's popular among
- 1:01
programmers because it allows you to
- 1:02
organize tabs on the side has a bunch of
- 1:04
good built-in shortcuts and has this
- 1:06
thing that feels like the command pallet
- 1:07
in vs code under the hood it's built on
- 1:09
top of the Chromium browser engine with
- 1:11
a nice smooth front-end UI written in
- 1:13
Swift however its claim of being private
- 1:15
and secure has just been put to the
- 1:16
ultimate test luckily the exploit was
- 1:18
found by a good guy named XYZ 3va who
- 1:21
reported it to the browser company and
- 1:23
to their credit took a mediate action
- 1:24
and fixed it the next day now in order
- 1:26
to explain the exploit we first need to
- 1:28
understand a feature called boost in the
- 1:30
arc browser basically it's a feature
- 1:32
that allows you to customize any website
- 1:34
with your own CSS and JavaScript like if
- 1:36
you hate a developer's design choices on
- 1:38
a website you can remix and customize it
- 1:40
and then you can even share those
- 1:41
adjustments with your friends although
- 1:42
it's worth noting that custom JavaScript
- 1:44
can't be shared because it would be too
- 1:45
easy to exploit that's a good idea but
- 1:47
here's the thing if you use the arc
- 1:49
browser you likely use it on multiple
- 1:51
devices and that means if you want to
- 1:52
use your Boost across multiple devices
- 1:54
Arc needs to store your executable
- 1:56
JavaScript code on its back end and it
- 1:58
does that with Google's Firebase and
- 1:59
Cloud fir store database upon hearing


