YouTube2Text

If you’ve deployed anything since 2015, I have bad news... — Transcript

by Fireship · 1,175 words · 172 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Earlier this week, Kim Jong-un's wildest
  2. 0:02fantasies came true because in the span
  3. 0:04of three days, hackers turned CNN, the
  4. 0:06BBC, and Zoom into malware routers.
  5. 0:09Researchers took over Java servers with
  6. 0:11a single base64 string, and your
  7. 0:13favorite sysadmin's favorite web server
  8. 0:15turned out to have a remote code
  9. 0:16execution bug that's been around since
  10. 0:182015. So, if you've deployed anything to
  11. 0:20the internet in the last decade, there's
  12. 0:22a good chance that at least one of these
  13. 0:24is now your problem. And that's not even
  14. 0:25including whatever else probably got
  15. 0:27hacked between when I recorded this
  16. 0:28audio on Thursday and when you'll see
  17. 0:30the video on Friday. In today's video,
  18. 0:32we'll break down how each attack
  19. 0:33actually works, find out why hacking 178
  20. 0:36major websites only paid out $7,500,
  21. 0:39and learn how to tell if your server is
  22. 0:41cooked. It is November 20th, 2026, and
  23. 0:44we're watching The Code Report. Things
  24. 0:45got off to a hot start on Monday when
  25. 0:47anyone visiting GitLab, Salesforce,
  26. 0:49Equifax, Ledger, or any of 174 other
  27. 0:52popular websites was fed malware. What
  28. 0:55they all had in common was that they
  29. 0:56were loading a script from Optimizely,
  30. 0:58which is an AB testing tool marketing
  31. 1:00departments use to feel like they're
  32. 1:01actually contributing something to the
  33. 1:03company. A bug in Optimizely's signup
  34. 1:05flow let an attacker write their own
  35. 1:07JavaScript into other customers'
  36. 1:08projects, which Optimizely then happily
  37. 1:11delivered from their own CDN. The
  38. 1:12payload would skim your card, steal your
  39. 1:14crypto, text your ex, and if you were on
  40. 1:17an older iPhone, it could hit you with a
  41. 1:18zero-click exploit kit that chained
  42. 1:20together six different vulnerabilities
  43. 1:22to take over your device. Within the
  44. 1:24span of about 10 hours, the attackers
  45. 1:26rebuilt the payload 26 times, which with
  46. 1:28that level of efficiency makes you
  47. 1:30wonder if they were using Optimizely to
  48. 1:32AB test their malware. But thankfully,
  49. 1:34crypto doesn't actually have any
  50. 1:35utility. So, along with any cards they
  51. 1:37skimmed, the hackers reportedly only
  52. 1:39walked away with about $7,500. From
  53. 1:41there, the internet had about 12 hours
  54. 1:43to recover before Tuesday when a
  55. 1:44security firm called Khalif disclosed a
  56. 1:47remote code execution bug in Java
  57. 1:48itself. It's called Java for Shell, and
  58. 1:50the bug is related to how Java decodes
  59. 1:53base64. Usually, that's handled by
  60. 1:55normal Java code, but if you're running
  61. 1:57a newer Intel or AMD server chip, the
  62. 1:59JVM gets fancy and swaps in a
  63. 2:01handwritten assembly version that uses
  64. 2:03AVX 512 to go faster. The problem is
  65. 2:06that version has a math bug where if you
  66. 2:08hand it a short string with messed up
  67. 2:09padding, it'll write 62 bytes past the
  68. 2:12end of the buffer before it figures out
  69. 2:13the input was garbage. And because Java
  70. 2:15apps decode base 64 from total strangers
  71. 2:18all day long, it Khalif says they got
  72. 2:20remote code execution without logging in
  73. 2:22on Jira, Confluence, Jenkins, and
  74. 2:24Keycloak. Thankfully, it only affects
  75. 2:26Java 17 and up. So if you've been
  76. 2:28practicing security through laziness,
  77. 2:30you'll be fine. Khalif did mention that
  78. 2:32some of their exploits break when NGINX
  79. 2:34is sitting in front of the Java app, and
  80. 2:36that would have been great news until
  81. 2:37Wednesday when researchers disclosed
  82. 2:39that anyone with your IP can run
  83. 2:41commands on your NGINX server. If you're
  84. 2:43in the marketing department, NGINX
  85. 2:44powers more than 225 million websites,
  86. 2:47which makes it one of the most heavily
  87. 2:48audited C codebases in the world. And
  88. 2:50yet this bug has been around for over a
  89. 2:52decade. It lives in the part of HTTP 2
  90. 2:55called flow control, which exists so a
  91. 2:57server doesn't send data faster than the
  92. 2:59client can handle it. The way it works
  93. 3:00is the client hands out credit, which is
  94. 3:02just the number of bytes NGINX is
  95. 3:04allowed to send. And the protocol says
  96. 3:06that credit can never go above 2 GB. The
  97. 3:08problem is NGINX forgot to enforce that
  98. 3:10limit when a request was canceled. So
  99. 3:12any unused credit was refunded back to
  100. 3:14the connection without ever being
  101. 3:16checked against the 2 GB cap. So if an
  102. 3:18attacker opens a connection, maxes out
  103. 3:20its credit, and then cancels a few
  104. 3:22requests, the refunds push the counter
  105. 3:24over the cap. Now that alone isn't a big
  106. 3:26deal, but NGINX checks the limit by
  107. 3:28subtracting the current credit from the
  108. 3:292 GB max. And because the counter is an
  109. 3:31unsigned integer that can't go negative,
  110. 3:33the result underflows and wraps around
  111. 3:36and becomes positive. At this point,
  112. 3:37NGINX thinks the connection is nowhere
  113. 3:39near the cap, which lets the attacker
  114. 3:41keep piling on credit until they trigger
  115. 3:43an overflow where a different part of
  116. 3:44the code reads the counter as a negative
  117. 3:46number. At that point, NGINX tries to
  118. 3:48send back a response, but the length is
  119. 3:50negative. And because the length decides
  120. 3:52how many bytes get copied, the copy runs
  121. 3:54right past the end of the buffer and
  122. 3:56starts reading and writing memory that
  123. 3:58belongs to other parts of the program.
  124. 4:00And from there, it's a fairly standard
  125. 4:01exploit where the attacker leaks enough
  126. 4:03memory to figure out where things are.
  127. 4:05Overwrites a function Engine X runs
  128. 4:07whenever a connection closes and then
  129. 4:08hangs up, so Engine X runs their command
  130. 4:11instead. The bug was found by a security
  131. 4:13firm called Zent, who then paired it
  132. 4:14with a second bug in the Linux kernel
  133. 4:16that upgrades the attacker to root on
  134. 4:18the entire machine. And while Zent was
  135. 4:20waiting on a patch, weirdly four other
  136. 4:22teams found and reported the same Engine
  137. 4:23X bug on their own. The good news is the
  138. 4:25public exploit has to send 128 gigs over
  139. 4:28a single connection, which will probably
  140. 4:30fail behind a proxy. So your side
  141. 4:32project on Cloudflare is likely fine.
  142. 4:34And before you ask, we're still
  143. 4:35investigating how this affects Hostinger
  144. 4:37servers, but while those are offline,
  145. 4:39we've been using the downtime to
  146. 4:40redesign the entire app with Paper, the
  147. 4:42sponsor of today's video. When your
  148. 4:44coding agent builds a UI by itself, it's
  149. 4:46flying blind because it can't see your
  150. 4:48screen or your team's design system.
  151. 4:50Paper is a design tool that fixes this
  152. 4:52with a canvas that is real HTML and CSS,
  153. 4:55and its MCP server lets Claude code
  154. 4:57cursor and Codex read and write to it
  155. 4:59directly. It lets your agent pull your
  156. 5:01CSS variables in as design tokens, then
  157. 5:03draw a new screen on the canvas with
  158. 5:05your actual colors and fonts, like it's
  159. 5:07doing here to create a match screen that
  160. 5:09Hostinger users can be proud of. If
  161. 5:11something looks off, you just grab it
  162. 5:13and fix it yourself, then tell your
  163. 5:14agent to build it into your app. And
  164. 5:16because it's already HTML and CSS,
  165. 5:18there's no translation layer between
  166. 5:20what you approved and what actually
  167. 5:21ships. It's used in production by teams
  168. 5:23at Ramp, Lovable, Linear, and more, and
  169. 5:26you can try it out for free today at the
  170. 5:28link below. This has been the Code
  171. 5:29Report. Thanks for watching, and I will
  172. 5:31see you in the next one.

About this transcript

This page contains the full transcript of If you’ve deployed anything since 2015, I have bad news... by Fireship, generated from the public captions YouTube serves with the video. The transcript has 1,175 words across 172 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.