Latest / Decrypted: The UK Cyber Briefing / The Kemp LoadMaster bug at your network's edge, and the API that didn't need to be on
Transcript
- 0:03This is Decrypted. Sunday, the ninth of August.
- 0:06The Kemp LoadMaster bug at your network's edge, and the A P I that didn't need to be on.
- 0:13A load balancer sits at the one place in your network that has to talk to the whole internet.
- 0:19So when one turns out to have an unauthenticated route to running commands as root, it stops being a niche ap
- 0:27pliance story. It becomes everyone's problem.
- 0:30On Friday, Sisa added C V E twenty twenty-six, eight zero three seven to its Known Exploited Vulnerabilities
- 0:40catalogue. It's a critical flaw in Progress's Kemp LoadMaster.
- 0:44Telemetry now shows 792 exploitation attempts over 41 days, from 65 I P addresses in 18 countries.
- 0:55Federal US agencies have until Monday to patch.
- 0:59UK organisations running LoadMaster don't have that deadline.
- 1:03Which is precisely why this is worth five minutes now, rather than after the fact.
- 1:09Next. What actually broke.
- 1:12LoadMaster's job is to sit in front of your applications and decide which backend server handles each reques
- 1:20t. It also does the S S L work, plus a bit of web application firewalling on top.
- 1:26Somewhere inside it is a function called escape quotes.
- 1:30Its entire purpose is to strip anything dangerous out of user input before it reaches a shell command.
- 1:37Think of it as a bag search before you're let backstage.
- 1:41Researchers at watchTowr Labs found that this function allocated its scratch memory with malloc, rather than
- 1:49the zeroed calloc. Then it failed to mark where the cleaned-up text actually ended.
- 1:54Feed it a very particular flood of extra characters and quote marks, and you can make it read leftover data
- 2:01from memory that was never meant to be there.
- 2:03You can then steer that leftover data into the shell command it's about to run.
- 2:08So the security guard's bag scanner reads someone else's forgotten luggage tag as your boarding pass.
- 2:15The route in is an A P I endpoint, slash accessv2.
- 2:20It's only reachable when LoadMaster's A P I feature is switched on.
- 2:25Progress patched this in June.
- 2:27watchTowr published the technical write-up on 29 June.
- 2:31And attackers were testing it within hours.
- 2:34And finally. The Secure by Design lesson.
- 2:38The fix that would have prevented every one of those 792 attempts already exists in the product.
- 2:45Leave the A P I turned off unless you specifically need it.
- 2:50That's the whole of Secure by Design in one sentence.
- 2:53Ship the risky feature disabled.
- 2:56Make the customer opt in with their eyes open.
- 2:59Don't ship it live and hope nobody scans for it.
- 3:02A load balancer's management A P I isn't something most deployments need exposed to the internet at all, let
- 3:09alone by default.
- 3:17oring but concrete. Check whether that A P I is on.
- 3:21Check whether it needs to be.
- 3:23And if it is, check whether it's reachable from outside your network.
- 3:27If watchTowr's researchers could turn a two-line memory bug into root access in a fortnight, so can whoever
- 3:34is behind those 65 I P addresses.
- 3:37That was Decrypted. The written version and every source are linked in the show notes.
- 3:43Thanks for listening.