Latest / Ship It Weekly - DevOps, SRE, Platform and Cloud Engineering News / GitHub Blocks pull_request_target by Default, WordPress Update Race Exploited, Polymarket Drained via Hijacked DebugBear Script & Alpine's GitLab Upgrade Missed the Fix
Transcript
- 0:00GitHub will block pull request target in public
- 0:03repos by default. And the first brownout is this
- 0:07Monday. Attackers are racing WordPress sites
- 0:11during core updates. And CISA says the bug is
- 0:16being exploited. And a monitoring script drained
- 0:20about $2.7 million from Polymarket users after
- 0:25the vendor's DNS was hijacked at its registrar.
- 0:29I'm Brian Teller from Teller's Tech, and this
- 0:32is Ship It Weekly.
- 0:50Welcome back to Ship It Weekly,
- 0:52the show about the DevOps, SRE, cloud, platform,
- 0:56and security stories that matter when you are
- 0:59the person keeping the thing running at three
- 1:02in the morning. For the weekly story list and
- 1:04source links, check out oncallbrief.com. For
- 1:08past episodes and show notes, head over to shipitweekly.fm.
- 1:12This week, GitHub's pull request target
- 1:16brownouts, a WordPress update race on CISA's
- 1:21exploited list, a hijacked DebugBear script
- 1:24draining Polymarket wallets, and the GitLab upgrade
- 1:29that didn't fix Alpine. Then we have a quick
- 1:33lightning round and a human closer about proving
- 1:36something didn't happen. Let's get into it.
- 1:43First up, a follow-up. And this one comes with dates.
- 1:47In episode 67, we covered GitHub's workflow execution
- 1:51protections. GitHub said then that starting November
- 1:552nd, public repos without their own event policy
- 1:59would have pull request target disabled by default.
- 2:03That date has moved. Permanent enforcement now
- 2:07starts December 2nd. Before that, there are two
- 2:10brownouts: Monday, November 9th, and Monday,
- 2:15November 16th, both from 4 to 6 p.m. UTC. That's
- 2:2011 a.m. to 1 p.m. Eastern. During those two
- 2:23hours, blocked runs fail with an error annotation,
- 2:27and the workflow doesn't execute. After each
- 2:31window, the rule goes back to evaluate mode,
- 2:35where workflows run with a warning. Quickly,
- 2:38what the trigger does. Pull request target runs
- 2:42in the context of the base repository with access
- 2:46to that repo's secrets. That's fine for labeling
- 2:49a pull request. It goes wrong when the workflow
- 2:53checks out the fork's code and runs it, because
- 2:57now a stranger's code is running with your secrets.
- 3:01It's public repos only. Private and internal
- 3:04repos aren't affected. And neither is GitHub's
- 3:08Enterprise Server. So before Monday, open Insights
- 3:12and see which runs the default rule would block.
- 3:16If you don't need the trigger, let the rule block
- 3:19it. If you do, allow it explicitly in an Actions
- 3:23event policy, and use workflow file targeting
- 3:27so only the workflows that need it get it. If
- 3:31your open source project has a bot that labels
- 3:34or comments on pull requests, Monday at 11 Eastern
- 3:38is when you find out which trigger it uses.
- 3:46Next, a WordPress bug where the dangerous moment is
- 3:50the update itself. On October 28th, WordPress
- 3:54shipped 7.1.4 and backported the fix to every
- 3:59branch back to 4.7. Every version from 4.7
- 4:04through 7.1.3 is affected. On Tuesday, CISA
- 4:09added it to its Known Exploited Vulnerabilities
- 4:12catalog as CVE-2026-119977, with a federal
- 4:19deadline of November 6th, the day this episode
- 4:23comes out. Here's how it works. When WordPress
- 4:26does a core update with a complete package, it
- 4:30unpacks the new files into a predictable folder
- 4:34under wp-content/upgrade. That copy includes
- 4:39the WordPress installer. And on a lot of servers,
- 4:43that folder is reachable from the web. So for
- 4:46a moment, a fresh installer is sitting at the
- 4:50URL anyone can request. An unauthenticated attacker
- 4:54who requests it inside that window can work their
- 4:58way to running PHP on your server. In lab testing,
- 5:02that window lasts only seconds. So attackers
- 5:06don't wait for it. They poll. Wordfence blocked
- 5:10almost 63,000 attacks on this in a single day
- 5:15last week. What makes this one uncomfortable
- 5:17is that it punishes the right habit. Keeping
- 5:21WordPress current is exactly what opens the window.
- 5:25So update to 7.1.4 or the patched release on
- 5:30your branch and confirm it actually landed on
- 5:34the sites you assume are auto-updating. Then
- 5:38check your logs for requests to PHP files under
- 5:42wp-content/upgrade. And look for admin
- 5:46accounts, plugins, or PHP files you don't recognize.
- 5:52And if you can, stop the web server from serving
- 5:55anything out of that upgrade folder at all.
- 6:03Third, a monitoring script that turned into a wallet
- 6:07drainer. Polymarket says that on October 29th,
- 6:11a third-party vendor's performance monitoring
- 6:13script, which loaded on polymarket.com, was
- 6:18replaced with one built to target its users.
- 6:21For anyone with the site open during a short
- 6:25window that afternoon, it used their session
- 6:28to sell their positions and move their funds
- 6:32out. Outside estimates put it at about $2.7
- 6:35million from around 700 wallets and Polymarket
- 6:40says it's refunding people. The vendor was DebugBear,
- 6:44which makes real user monitoring for page speed.
- 6:48DebugBear says its DNS records were compromised
- 6:52through its domain registrar. It says the attack
- 6:55targeted one specific customer. So DebugBear's
- 6:59code didn't have to change at all. Polymarket's
- 7:03pages loaded a script from DebugBear's hostname
- 7:07and whoever controls the DNS from that hostname
- 7:10decides what code comes back. That code then
- 7:14runs inside Polymarket's page with the user's session.
- 7:19HTTPS doesn't stop it either because whoever
- 7:23controls a domain's DNS can usually get a valid
- 7:27certificate from it. A content security policy
- 7:30that allows the vendor's domain still allows
- 7:34it. Subresource integrity does help. The browser
- 7:38checks the script against a hash and won't run
- 7:42it if the file changed, even at the same URL.
- 7:46The trade-off is that the vendor's legitimate
- 7:49updates get blocked too, until you update the
- 7:52hash, which is why teams pin a fixed version.
- 7:56Polymarket's fix includes explicit version pinning,
- 8:00along with a stronger content security policy
- 8:03and sandboxing. So, two things to check. First,
- 8:08list every third-party script on pages where
- 8:11your users are signing in. And ask whether a
- 8:15page speed script needs to be there at all. Second,
- 8:19look at your own registrar account. Turn on registrar
- 8:23lock, put strong MFA on it, and alert on DNS
- 8:28changes. It's often the least watched account
- 8:31that can redirect everything you run.
- 8:39Fourth, a follow-up that changes advice we gave. In
- 8:42episode 72, we covered CVE-2026-97229, the CVSS
- 8:5010 GitLab flaw in how CI configuration handles
- 8:55regular expressions. If you ran GitLab yourself,
- 8:58we said upgrade to 19.4.2, 19.3.5, or 19.2.8.
- 9:06Now Alpine Linux has published what happened
- 9:10when an attacker came after its GitLab and why
- 9:14upgrading wasn't enough there. The bug is actually
- 9:18in Onigmo, the regular expression engine built
- 9:22into Ruby. GitLab's October 12th fix is a set
- 9:27of patches to the Ruby that GitLab bundles in
- 9:31its own packages and container images. Upstream
- 9:35Ruby didn't ship the fix until October 23rd.
- 9:39Alpine runs GitLab from its own container image
- 9:42on standard Ruby. On October 20th and 21st, a
- 9:47newly registered account sent crafted CI configs
- 9:52that crashed GitLab workers eight times. In four
- 9:56of those crashes, the attacker got partway through
- 9:59the exploit. Alpine upgraded GitLab on October
- 10:0322nd. On the 26th, they found it was still vulnerable,
- 10:08because their image never had GitLab's Ruby patch.
- 10:12They took it offline, rebuilt it, reset every
- 10:15password, and reopened on October 29th. If you
- 10:19run GitLab from source or from a container image
- 10:23you build yourself, upgrading GitLab isn't enough.
- 10:27You also need Ruby 3.3.13, 3.4.12, 4.0.9,
- 10:34or later. GitLab's official packages and images already carry the patch.
- 10:40And, since this is a Ruby bug, anything else
- 10:44of yours that compiles regular expressions from
- 10:47untrusted input needs the new Ruby too. A version
- 10:51number tells you what you installed. It doesn't
- 10:55always tell you what's inside it.
- 11:05Quick lightning round. First, Alpine again. On Thursday, OpenSSH
- 11:10shipped an emergency release, 10.6p2, for a
- 11:16login bypass on systems built on musl with
- 11:21PAM turned off, which is how Alpine's OpenSSH
- 11:25server package is built. With password logins
- 11:29on, the default, an attacker can get into an account
- 11:33with no password set, like a key-only user, by
- 11:37sending a very long password, as long as another
- 11:41account on the box has a real one. Update, then
- 11:45restart sshd, since the upgrade doesn't restart
- 11:49it, or turn password authentication off. Second,
- 11:53if you run Debian or Ubuntu, update APT itself.
- 11:57CVE-2026-109518 lets anyone who can tamper
- 12:03with the HTTP traffic between APT and the archive,
- 12:09like a malicious mirror or proxy, swap a package
- 12:13after APT has verified it. And packages install
- 12:17as root. It needs download retries, which are
- 12:21on by default from Debian 12 and Ubuntu 22.04.
- 12:26Fixes shipped Wednesday, so update APT on your
- 12:31host and in the images you build. And third,
- 12:35.NET 8 and .NET 9 reach end of support next Tuesday,
- 12:39November 10th. Last week, we told you to patch
- 12:43.NET for the Brotli bug. After Tuesday, the next
- 12:47one like it just stays open. .NET 10 is the long-term
- 12:52support release, supported through November 2028.
- 13:04The human closer this week comes back to
- 13:07Alpine, and one sentence in their write-up:
- 13:11"We have found no evidence that it succeeded,
- 13:14but we cannot rule it out." That's an honest sentence,
- 13:18and it's harder to write than it sounds. Alpine
- 13:22had crash logs. They knew the attacker got
- 13:26partway through the exploit four times. What
- 13:30they couldn't do was prove that some other, quieter
- 13:33attempt didn't work. A successful exploit would
- 13:37leave no crash and no trace in the web logs.
- 13:43Some logs from the day of the attack were already
- 13:46gone and nobody was logging outbound network
- 13:49connections, not Alpine and not their hosting
- 13:53provider. So they rebuilt from scratch and they
- 13:58checked their releases against records the attacker
- 14:01couldn't have touched, a developer's own clone,
- 14:04and all 45 of their build servers. Look at what
- 14:09they are changing afterward. Most of it is evidence.
- 14:12Log outbound connections. Keep logs longer than
- 14:1714 days. Sign release tags, so anyone can verify
- 14:21a release without trusting GitLab. Now hold that
- 14:26up against the rest of this week. If the WordPress
- 14:29race hit one of your sites in those few seconds,
- 14:33would your logs show it? If a third-party script
- 14:37on your login page changed for an hour on a Thursday
- 14:41afternoon, would anyone know? If someone changed
- 14:45your DNS at the registrar, how long until you
- 14:49noticed? None of those questions are about stopping
- 14:52the attack. They are about whether you can say
- 14:55with a straight face that it didn't happen. Even
- 14:59CISA's WordPress entry asks for forensic triage,
- 15:04not just a patch. That's it for this week of
- 15:07Ship It Weekly. Follow or subscribe wherever
- 15:10you are watching or listening. You can find the
- 15:13weekly story list and source links at oncallbrief.com
- 15:16and past episodes and show notes at shipitweekly.fm.
- 15:21In this episode, we covered GitHub's pull
- 15:25request target brownouts, the WordPress update
- 15:29race on CISA's exploited list, the hijacked DebugBear
- 15:33script that drained Polymarket wallets,
- 15:37and Alpine's GitLab upgrade that didn't include
- 15:41the fix. I'm Brian Teller from Teller's Tech.
- 15:44Thanks for listening. And remember, "no evidence"
- 15:47is only as good as the logs you kept.