Get In Touch
Phone: +1 (915) 730-3817
500 W. Overland Ave Suite 250W, El Paso, TX 79901
Back

AI Is Finding Old Bugs Faster Than Small Businesses Can Patch Them

In the middle of November, Microsoft 365 went down for almost a day. The next afternoon the FAA grounded every flight in the country. The following Monday a bug at Chase dragged Zelle and half the banking apps in the US down with it. The day after that, the NSA’s internal network went down.

Everyone heard about it. And according to the public story, none of it was an attack. Microsoft traced its outage to a defect that had been sitting quietly in its network since July. The FAA blamed a router. Chase blamed a software bug in its own hardware. The NSA’s explanation was the one that caught my attention. According to the Director of National Intelligence, the outage came from patches for a PHP vulnerability that had been found with AI a few weeks earlier.

I guess that’s the comforting version of November. Nobody broke in. Things just broke.

But there’s another story running underneath it, and it doesn’t make headlines because it happens to companies nobody writes about.

The bugs were always there

In that same month, we were forced to patch our servers three times. Each time it was for a vulnerability that had been sitting in widely used software for over a decade. One of them was that same PHP flaw. Another was in NGINX. Between them, PHP and NGINX run a large share of the websites on the internet. Earlier this year NGINX patched a memory flaw that had been in its code for 18 years, and attackers were exploiting it within days of it becoming public.

None of these bugs are new and that is the part that should worry us. They were written years ago, and they sat there while millions of servers ran them. What’s new is how fast they’re being found.

Needless to say, AI has a lot to do with that. The php flaw was found using AI. An AI model can read through old code with the patience and speed that no human reviewer has ever had, and it doesn’t get bored on line 40,000. That’s good news when the person running it is a security researcher. It’s not so good news when the person running it is looking for a way in. AI doesn’t pick a side. The same capability that helps a researcher find a flaw and report it helps an attacker find it and keep quiet. The window to act between “a flaw exists” and “someone is using it” is shrinking. It used to be wide enough to plan around, but now the patch needs to be applied almost immediately.

The update that was the attack

This is the part I didn’t expect to write about from experience.

Shortly after those patches, one of our software vendors got hacked. The attackers didn’t go after their customers directly. They went after the vendor’s update system. They hid malware inside a routine update, and every server set to install updates automatically did exactly what it was told. Our servers opened the door for a trusted vendor, and the vendor was carrying a Trojan horse.

One of the sites we manage was one of them. The malware gave outsiders a way into the server and the database. The damage stayed small because of how that server is set up. But when clients bring us in to look at their servers, most aren’t set up that way and that is the scary part. We caught it because two things happened at about the same time. The vendor emailed us (and someone actually read the email), and our antivirus flagged the change. Two warnings, and someone paying attention to both.

“Keep your software updated” is the first thing anyone tells you about security. It’s still true. But in this case the update was the way in. We did the responsible thing, and the responsible thing was the problem.

The patch dilemma

This is where the speed turns into a real problem.

If flaws are being found and exploited in days, you need to patch fast. But patching fast has two costs. The first is that patches break things. That’s what happened at the NSA. An agency with more resources than any small business will ever have rushed out a fix for an AI-discovered bug, and its own internal network fell over. The second is that you can’t patch fast and inspect carefully at the same time. Automatic updates are fast because nobody looks at them. That’s the feature. It’s also exactly what the attackers who hit our vendor were counting on. So you’re stuck choosing between two risks. Update immediately and trust that the update is clean. Or wait, and leave a known hole open while you do.

After our incident, we changed our rule. Well-advertised security patches go in right away. Plugin updates wait a few weeks, so that if something poisoned slips out, someone else finds it first, on their infrastructure. I’d love to say that solves it, but the truth is that it doesn’t. Somewhere in the pile of updates we’re sitting on, there’s probably a security fix nobody advertised. We picked the risk we’d rather live with. That’s all a policy like this can do.

AI didn’t create this tradeoff. But it took away most of the time we used to have to think about it.

The breach nobody notices

When Microsoft goes down, you find out in about four minutes, because your email stops working along with millions of other people. The outages announce themselves.

Security breaches do not. A good attacker wants your site up, your checkout working, and your database quietly copying itself somewhere else without anyone noticing. The longer they can keep siphoning data, the better. Even the Pentagon didn’t notice. In September it disclosed that someone had been inside one of its personnel record systems for about nine months, with access to records on nearly three million people. This happened to the Pentagon: an organization with most resources as almost anyone and with a dedicated army of security teams, and yet, it took them nine months to find out.

A small organizations with no one watching might never find out at all. The customer data walks out the door, and the first sign is a fraud complaint months later that nobody connects back to the website. Most small businesses don’t have the two warnings we had. It’s rarely carelessness. Usually nobody ever told them this is something someone should be doing, let alone that it’s their job. The site or system got built, it worked, and whoever built it moved on years ago.

It’s a bit like a house with no smoke detector. The house isn’t on fire. But if it ever is, you’ll hear about it from the neighbors.

Three questions to ask about your server

In an earlier piece on the AI adoption failure loop, I wrote that access to a tool is not expertise. Security works the same way. An auto-update setting is a tool. A security plugin is a tool. Neither one means anyone is actually watching.

You don’t need to know how to patch a server. But you should be able to answer three questions about the one your business runs on. If you can’t, take them to whoever manages your site and listen carefully to how they answer.

  1. Who gets the security emails from the software your site runs on?
    Every platform, plugin, and hosting provider sends security notices. Somebody has to read them and more importantly, understand them and act on them.A good answer names a person, and the emails go to an address that doesn’t disappear when someone leaves the company. Bonus points if they can tell you the last notice they acted on.

    A worrying answer sounds like “they go to the developer,” followed by a pause while everyone remembers the developer left in 2022. Or “we get so many emails from them.”
  2. What would tell you if a file on your server “magically” changed overnight?
    This is the question that would have caught our incident without the vendor’s email.

    A good answer describes some kind of monitoring that watches for files changing and alerts a real person. They should be able to show you what an alert looks like and tell you when the last one fired.A worrying answer is “we have a security plugin,” with no idea who reads its reports. Or “we’d notice if the site went down.” The attacker is hoping you think that.
  3. When an update comes out, who decides whether it gets installed, and when?
    This is the patch dilemma, and there’s no perfect answer. But there should be an answer.

    A good answer is a rule someone can explain: which updates go in fast, which ones wait, and whether they get tested on a copy of the site first. There should be a recent backup in place before anything changes.

    A worrying answer is “everything auto-updates,” which means nobody decides. Or “we update when something breaks,” which means nobody decides either, just later.

The part that won’t go away

AI is going to keep finding old bugs. That’s mostly a good thing, the same way it’s good when a building inspector finds the wiring problem before the fire. Unfortunately, sometimes it will be the arsonist who finds the fault first and then starts to overload the circuit.

Every bug found by either side  starts a race between whoever patches and whoever exploits, and small businesses are running that race without knowing they’re in it.

The big companies will keep having outages, and we’ll keep hearing about them.

If the answer to any of those three questions is “I don’t know,” nobody is going to tell you when your data walks out the door.

Ares Saldaña
Ares Saldaña
Ares Saldaña writes about personal reflections, AI and how it affects organizations, custom technology, and the gap between what technology promises and what it delivers. He's been building solutions since 2005 and founded Phidev in 2008 after realizing most businesses don't need better tools—they need someone to understand how they actually work and develop custom technology for them.