Sovereign-Computing.com

Reclaim your digital life. Own your sovereignty.

Bicycle bell beside a car recall letter: a package-name match flagging software that was never installed.

What ‘Known Exploited’ Actually Means

One morning my security monitor told me that four of my machines were running software with a flaw that was being actively exploited in the wild. None of those four machines had that software installed. This piece is about the gap between a security feed telling you something is dangerous and your own machine actually being in danger. Both statements are true, and they are not the same statement.

If you own a computer and read any security news at all, you have met the two numbers I am going to talk about. One of them is a list, and the other one is a chance. Neither of them knows what version you are running, and that is the whole point.

The list: something is being used right now

The first is a list of flaws that somebody, somewhere, has confirmed are being used by real attackers against real systems. Not “could be exploited”, not dangerous in theory — being used, in the wild, now. Each entry comes with a date by which a well-run organisation is expected to have dealt with it.

For a large organisation this list has teeth, because it comes with deadlines and auditors. For the rest of us it is a priority signal, and a good one. If a flaw is on that list, somebody is already using it, which means you do not have to guess whether an attacker would bother. They clearly would, because they already are.

The probability: something might be used soon

The second number is a forecast. For any given flaw it gives a score between zero and one. That score is an estimate of the chance it will be used in the next 30 days. A score near one means this thing is being tried constantly and works. A score near zero means nobody is bothering, usually because the flaw is hard to reach or the reward is small.

Two numbers, and both of them are useful, but both of them describe the flaw. Neither has any idea what is installed on your machine.

That gap is where almost all of the work lives, and it is where my own monitor embarrassed itself three times in one week.

False alarm one: the server I did not have

The monitor flagged a serious sign-in bypass in a telnet server on four machines, with a near-certain chance of being used attached. Telnet is the ancient way of connecting to a computer. Telnet servers do still exist in corners of the world, mostly where nobody has been allowed to turn them off.

They were not on my machines. What I had was the telnet client, which is the program you use to connect to somebody else’s server. The client and the server ship in the same package family, so a feed that matches on the package name flags both. But the flaw was in the part that listens and accepts connections, and my machines only had the part that dials out.

It is the recall notice for a car being sent to you because you own the company’s bicycle bell. Same manufacturer, and not the same object, and not remotely the same risk.

The fix in my monitor was a single rule: if the vulnerability is in a specific program, require that program to actually be installed before believing the alarm. Require the program itself, and not just the package.

False alarm two: a word that was not a product

A second alarm was about a web framework I have never installed. It triggered because the advisory also named a widely used web server that I do have, in a sentence about something else entirely. Keyword matching on a product name is how you get flags for software you have never touched.

Matching has to be at product level, and even then it needs a version check behind it. A name in a sentence is not evidence that a program is on the disk.

False alarm three: right product, wrong version

The third one was correct in every respect except the one that decides anything. The product was right, and the flaw was real. The list said it was being exploited. And the version installed on my machine was already newer than the release that fixed it.

I was flagged for a flaw that had been repaired before I installed the software. The only upgrade the vendor offered was a jump to a new major version. That is not a security patch. It is a migration project with a security patch inside it. So the honest verdict was “not exposed”, and the finding was kept on the board as information rather than deleted from it.

Keeping it matters, because deleting a finding teaches you nothing, and it also means the next person cannot see that the question was asked and answered.

The one that was real, and how a deadline actually feels

Having said all that, one of these did bite, in the same week.

A service I self-host had released a fix for a flaw that let a stranger with no sign-in run code on the machine through a feature I do use. My installation was one patch release behind the fix. It was not years behind, and not months. It was one release behind.

I took a backup of its settings and its database first. Then I applied the patch, and kept the previous version pinned in the package source so a rollback was one command away. Then I checked the service from outside the machine, rather than trusting the upgrade output. The next day was the deadline in the catalogue. That is what the deadline is for, and I would rather meet it by a day than discover it from a news article.

The class nobody wants to talk about: no fix exists

There is a fourth state, and it is the one that separates an honest monitor from an optimistic one. Some flaws have no fix in the software your distribution actually ships. The upstream project may have patched it in a version you cannot install without breaking everything else, or nobody has patched it at all.

For that class, the useless answer is “upgrade”. There is nothing to upgrade to. A remedy that cannot work is worse than no remedy. It looks like a plan, and it closes the ticket without changing anything. The honest answer is to say the flaw is unfixed. Then pick a different lever, which means either removing the software, putting it behind something that can protect it, or accepting the risk in writing.

As I write this, my own board has exactly one high finding of that kind, and it will probably still be there next month. That is not a failure of the monitor. That is the monitor telling me the truth.

The state that took me longest to learn: unknown is not clear

Between “exposed” and “safe” there is a third answer, and it is the one that will save you.

Two kernel flaws were flagged on my hypervisors. The fixed release in my vendor’s changelog was older than the build I was running, so those two cleared honestly. But two other kernel flaws from the same batch appeared nowhere in that changelog at all. Not fixed, not mentioned, not obviously unfixed.

It is tempting to reason that a silent changelog means nothing to see. It means nothing of the sort, and what it actually means is that the vendor has not said. So those were recorded as unknown, which is allowed to sit on a board and stare at you, because it asks a real question. Is there a version that names this flaw, or am I waiting for one?

“Unknown” keeps you awake in a useful way. “Cleared” lets you sleep, and sleep is how a flaw you never actually checked becomes next year’s incident.

The blind spot that matters most

One morning the monitor reported that two of my domains had no email protection records at all, and that anyone could send email pretending to be me. Both records existed, and both were enforcing. The monitor was wrong in the loudest possible direction.

The cause was a three-second timeout on a lookup that took six seconds. The lookup failed, the code turned the failure into an empty answer, and the empty answer became the sentence “there is nothing there”. I had written a check that could not tell the difference between the record is missing and I could not ask.

That is the most dangerous bug a monitor can have, and it is not really a bug in the checking. It is a missing answer, and a monitor needs four states rather than three, which are fine, broken, unknown and blind. If it cannot say “I could not look”, then its silence is indistinguishable from good news, and you will trust it exactly when it deserves it least.

What to do with any alert, in three questions

When a security feed tells you something is urgent, ask three questions in this order.

  1. Is the program actually installed, and I mean the program that has the flaw? Not the package, and not something with a similar name.
  2. Is my version lower than the version that fixed it? If yes, you have a real problem. If no, you have a feed with a matching problem.
  3. Is there a fix that exists and that I can install? If yes, take the backup and install it. If no, say so plainly and choose a different lever.

Everything else is triage theatre. The score, the severity label and the deadline all describe the flaw itself. Only those three questions describe your machine.

Where this leaves me

The list is useful, and so is the chance of use. My monitor is now considerably more useful than it was, because it can say four things instead of three, and because it checks versions before it checks its own pulse.

The number of problems it reports each morning is now small enough that I read all of it. That is the only test of a security tool I have ever found reliable. It is not about how much it finds. It is about whether you still read what it says.

WordPress Appliance - Powered by TurnKey Linux