Fireship · @fireship

How a simple mistake left Arc Browser wide open to hackers

Uploaded October 5, 2024 · Length 4:57

How a simple mistake left Arc Browser wide open to hackers

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.

  1. 0:00

    last week the arc web browser

  2. 0:01

    experienced its first catastrophic

  3. 0:03

    vulnerability where a hacker could gain

  4. 0:05

    access to your browser to execute CSS

  5. 0:07

    and Java Script on any website almost

  6. 0:09

    like God mode cross-site scripting that

  7. 0:11

    means an attacker could log your

  8. 0:13

    passwords track your browser history

  9. 0:15

    insert fake news into your favorite

  10. 0:16

    websites and all sorts of other bad

  11. 0:18

    things with the power of JavaScript

  12. 0:20

    what's even more crazy though is that

  13. 0:21

    all this could be accomplished without

  14. 0:22

    the end user ever visiting a malicious

  15. 0:24

    website that's horrifying if you're an

  16. 0:26

    arc user but the good news is that this

  17. 0:28

    issue has been patched and nobody got

  18. 0:30

    exploited the big question though is how

  19. 0:31

    could something so catastrophic happen

  20. 0:33

    to a product which itself is based on

  21. 0:35

    the highly secure Chromium browser

  22. 0:37

    engine well the root cause comes down to

  23. 0:39

    misconfigured security rules on my

  24. 0:41

    favorite big ass backend Firebase in

  25. 0:43

    today's video we'll find out how Arc

  26. 0:45

    narrowly avoided an iceberg and who to

  27. 0:46

    point fingers at and blame for this

  28. 0:48

    issue it is October 4th 2024 and you're

  29. 0:50

    watching the code report on its website

  30. 0:52

    Arc claims to be the Chrome replacement

  31. 0:54

    you've been waiting for built from the

  32. 0:55

    ground up to be private and secure if

  33. 0:57

    you haven't used it yet Arc is a very

  34. 0:59

    cool brow owser that's popular among

  35. 1:01

    programmers because it allows you to

  36. 1:02

    organize tabs on the side has a bunch of

  37. 1:04

    good built-in shortcuts and has this

  38. 1:06

    thing that feels like the command pallet

  39. 1:07

    in vs code under the hood it's built on

  40. 1:09

    top of the Chromium browser engine with

  41. 1:11

    a nice smooth front-end UI written in

  42. 1:13

    Swift however its claim of being private

  43. 1:15

    and secure has just been put to the

  44. 1:16

    ultimate test luckily the exploit was

  45. 1:18

    found by a good guy named XYZ 3va who

  46. 1:21

    reported it to the browser company and

  47. 1:23

    to their credit took a mediate action

  48. 1:24

    and fixed it the next day now in order

  49. 1:26

    to explain the exploit we first need to

  50. 1:28

    understand a feature called boost in the

  51. 1:30

    arc browser basically it's a feature

  52. 1:32

    that allows you to customize any website

  53. 1:34

    with your own CSS and JavaScript like if

  54. 1:36

    you hate a developer's design choices on

  55. 1:38

    a website you can remix and customize it

  56. 1:40

    and then you can even share those

  57. 1:41

    adjustments with your friends although

  58. 1:42

    it's worth noting that custom JavaScript

  59. 1:44

    can't be shared because it would be too

  60. 1:45

    easy to exploit that's a good idea but

  61. 1:47

    here's the thing if you use the arc

  62. 1:49

    browser you likely use it on multiple

  63. 1:51

    devices and that means if you want to

  64. 1:52

    use your Boost across multiple devices

  65. 1:54

    Arc needs to store your executable

  66. 1:56

    JavaScript code on its back end and it

  67. 1:58

    does that with Google's Firebase and

  68. 1:59

    Cloud fir store database upon hearing