WEBVTT

1
00:00:03.200 --> 00:00:07.920
This is Decrypted. Monday, the twenty-sixth of October, twenty twenty-six.

2
00:00:07.920 --> 00:00:10.000
This is the evening edition.

3
00:00:10.000 --> 00:00:16.403
Node2Shell reaches.net: Microsoft's emergency Brotli patches.

4
00:00:16.403 --> 00:00:23.683
Node2Shell, the Node.js flaw we covered on Sunday, now reaches beyond one runtime.

5
00:00:23.683 --> 00:00:32.503
Today Microsoft released emergency out-of-band updates for the same identifier, C V E twenty twenty-six, one

6
00:00:32.503 --> 00:00:37.983
one one four nine seven, the public reference number for this vulnerability, in.

7
00:00:37.983 --> 00:00:42.403
net, the framework behind many UK line-of-business applications.

8
00:00:42.403 --> 00:00:47.763
Imperva's Red Team found the flaw, and proof-of-concept code is public.

9
00:00:47.763 --> 00:00:54.643
BleepingComputer reports no malicious exploitation in the wild yet, which is precisely when to act.

10
00:00:54.643 --> 00:01:02.403
So, what actually broke? Brotli is a compression format that shrinks web traffic.

11
00:01:02.403 --> 00:01:04.883
Think of a vacuum-packed parcel.

12
00:01:04.883 --> 00:01:11.363
The sender seals it flat, and the receiver's software unpacks it into a box sized in advance.

13
00:01:11.363 --> 00:01:14.963
The decoder has to trust the packing instructions.

14
00:01:14.963 --> 00:01:17.896
In Imperva's analysis of the Node.

15
00:01:17.896 --> 00:01:22.883
js copy, the decoder met an instruction the stream's structure made impossible.

16
00:01:22.883 --> 00:01:29.043
It treated that as a request for more data, and carried on in a broken internal state.

17
00:01:29.043 --> 00:01:35.443
It then wrote past the end of its box, which Imperva says can permit remote code execution.

18
00:01:35.443 --> 00:01:39.463
Microsoft calls its flaw a buffer overflow in.

19
00:01:39.463 --> 00:01:45.723
net's Brotli decompression, which an unauthenticated attacker may use to read or corrupt memory.

20
00:01:45.723 --> 00:01:51.843
Now, are you exposed? Fewer than you might fear, but more than you'll guess.

21
00:01:51.843 --> 00:01:57.543
Microsoft says request and automatic response decompression are off by default, and.

22
00:01:57.543 --> 00:01:59.763
net Framework is not affected.

23
00:01:59.763 --> 00:02:08.163
You're at risk if an application uses A S P dot net Core request decompression, HttpClient automatic response

24
00:02:08.163 --> 00:02:13.523
decompression or the Brotli compression A P Is, the ways programs call it.

25
00:02:13.523 --> 00:02:18.083
Fixed releases are 8.0.33, 9.

26
00:02:18.083 --> 00:02:25.443
0.22 and 10.0.14, with.net 11 users moving to Release Candidate 3.

27
00:02:25.443 --> 00:02:30.083
For Node.js, Imperva lists 22.

28
00:02:30.083 --> 00:02:35.923
23.4, 24.22.1 and 26.12.1.

29
00:02:35.923 --> 00:02:43.550
It notes that Express and body-parser can route untrusted request bodies into the decoder, as can the built-i

30
00:02:43.550 --> 00:02:46.003
n fetch when it reads a compressed response.

31
00:02:46.003 --> 00:02:50.163
Imperva also says its exploit did not work on every attempt.

32
00:02:50.163 --> 00:02:53.049
So, what should defenders check?

33
00:02:53.049 --> 00:02:56.650
Patching the server doesn't patch the application.

34
00:02:56.650 --> 00:03:03.016
Microsoft says self-contained apps must be rebuilt and republished, because a newer host runtime doesn't upda

35
00:03:03.016 --> 00:03:04.650
te the one bundled inside them.

36
00:03:04.650 --> 00:03:08.010
Containers need rebuilding from updated images.

37
00:03:08.010 --> 00:03:14.490
Imperva warns that package inventories can miss bundled runtimes, so check what's actually deployed.

38
00:03:14.490 --> 00:03:22.250
If you can't patch today, block incoming Brotli-compressed requests at a proxy or firewall, or disable Brotl

39
00:03:22.250 --> 00:03:26.896
i decoding until you can. And what's the Secure by Design lesson here?

40
00:03:26.896 --> 00:03:34.752
The default saved people. Decompression ships switched off, so many UK estates are exposed only if someone o

41
00:03:34.752 --> 00:03:42.016
nce enabled it for speed. Code that decodes untrusted input is among the riskiest in any application.

42
00:03:42.016 --> 00:03:47.856
It should stay off until a person chooses otherwise, and ideally be written in a memory-safe language.

43
00:03:47.856 --> 00:03:51.456
The cost of the fix is an inventory, not a patch.

44
00:03:51.456 --> 00:03:58.146
If you can't say which runtimes sit inside which apps and containers, a director's question like "are we expo

45
00:03:58.146 --> 00:04:02.176
sed?" takes days to answer, and attackers need less time than that.

46
00:04:02.176 --> 00:04:06.136
Ask your suppliers for that list this week, in writing.

47
00:04:06.136 --> 00:04:09.376
As always, this is opinion, not advice.

48
00:04:09.376 --> 00:04:15.456
That was Decrypted. The written version and every source are linked in the show notes.

49
00:04:15.456 --> 00:04:16.496
Thanks for listening.

