• Thanks for stopping by. Logging in to a registered account will remove all generic ads. Please reach out with any questions or concerns.

PHP vulnerability

This issue shut down off campus access to my university for the day.
One news report estimate up to 70% of the internet is vulnerable to this issue.
 
I'm sure Mr. Bobbitt is aware, it's what he does.

This website is just his expensive and time consuming contribution to the military community.
 
I just received a notice about this from IPSC Ontario regarding their forum. The notice says membership information and registration were not affected.
 
Whoops, totally missed this one and only accidentally found it when I was testing to see if I broke search. :)

Bruce is right, this is kinda my wheelhouse. We were patched the moment the news broke, along with every IOT device and router in my home network.

Hold on to your hats, AI is going to expose these weaknesses for another year or two before things settle down.
 
Whoops, totally missed this one and only accidentally found it when I was testing to see if I broke search. :)

Bruce is right, this is kinda my wheelhouse. We were patched the moment the news broke, along with every IOT device and router in my home network.

Hold on to your hats, AI is going to expose these weaknesses for another year or two before things settle down.
Mm hm. Everything new going out the door should get torture tested first, but legacy systems will get ripped to shreds until everything is found and patched.
 
Yep, and there's a lot of stuff out there that is is discontinued, unsupported, forgotten, etc.

I foresee a lot of expensive stuff chucked as e-waste and replaced with new "battle tested" gear. But before that happens there's going to be a lot of small organizations wiped off the map because they forgot about that one old router/NAS/IOT device that allowed the hordes to pour in and cause permanent damage.

My advice: If it connects to your network and you have not upgraded/patched it in the last 30 days, do so now. If there are no available updates, it's likely unsupported. Bin it and find a replacement before it becomes your downfall. [Rinse/repeat this advice every 30 days for the next 2 years.]

Fun times!
 
Interesting issue this.

Back in 2006 when I was brought in to take over as PD on JAG CIMP, there had been a big bottleneck because the guy that I was replacing had not moved forward with the SORs for the systems that the project needed. When he and I first met he told me that his aim was to build the system on Drupal PHP. At that time I'd never heard of it, did some research (found that it was all the rage with web developers) and then talked to the project's system engineer about it. In short, he rolled his eyes and opined that ADM(IM) would never authorize it on security reasons and we'd greatly delay the project if we proceeded down that road. At that time it was largely untested. We went on to redesign things using industry standard solutions that, for the most part, were already acceptable within the CAF/government.

Image my lack of surprise when these recent news on PHP came out.

🍻
 
That's an interesting story, and I think highlights that there's a lot to unpack with this recent issue.

Apologies in advance for the big post. :)

PHP was found to have catastrophic vulnerabilities, but I don't believe that makes it much different than any software or system that has evolved over years/decades. The scale of the emergency is due in part to php's popularity - it's used by about 70% of internet sites. If it were only 10%, we would have a problem 1/7th the scale. [Side note, php is the engine behind these forums and nearly all of the custom software built for Army.ca.]

In reality, these emergencies are happening about weekly in the Cyber world now, but they rarely make the mainstream media so most are blissfully unaware of the chaos IT folks are currently living.

To split hairs, the vulnerability was not with Drupal (although Drupal has definitely had its share!) One analogy might be a recall on an engine used in many car models - not the fault of the car, probably not even the manufacturer if they just installed the engine. But it's a problem with their 'platform' so it matters to them and affect their product.

To me, the 'tell' is how fast the issue is fixed. In this case, because the vulnerabilities were responsibly disclosed, there were fixes available the day the vulnerabilities were announced. That's not always the case, sometimes because bad actors start exploiting before the vendors know about it, but sometimes because the vendor simply ignores the responsible disclosures for months. The php team was the former, not the latter, which is good, it speaks to their engineering and process maturity.

I'm nearly certain that whatever industry standard solutions were used instead of php/Drupal have their own vulnerabilities, either discovered or latent. There is a very strong case for using common tools across projects though, even if just for a supportability/maintainability approach, so... good call. :)

PHP is open source, which means literally anyone can aim AI at its source code and find vulnerabilities humans have missed for years. Proprietary solutions such as Microsoft's ASP, .NET, or Apple's XCode, Swift etc. are closed - if Microsoft and Apple are not scrubbing their code (they are) then the vulnerabilities will remain, and remain hidden.

What's really interesting to me is AI's disruption in this field. If you look at vulnerability statistics, they were on a steady increase since 2018, from about 16k annually to about 48k annually. That means reported vulnerabilities tripled over 9 years. But the stats show that they have almost doubled already in 2026 over 2025 - and we're not done yet!

This does not mean that more sloppy code was produced in 2026 than any previous year, in fact it kinda tells the opposite story. Over 72k vulnerabilities have been found (and the majority presumed fixed) this year, setting a record for strengthening software. Some of these vulnerabilities are literally decades old, and no human had the insight to find them. (Or they remained "NOBUS" weapons for three-letter acronym organizations. :) )

So once we fight through the chaos of replacing all the sloppy code with properly engineered code (or sloppy code that's been deeply reviewed by AI), I predict these numbers will go down again. Will 2027 be that drop? Not so sure, but I do believe we'll see it in 2028.

Then again, one job that AI has truly destroyed is predicting the future with any clarity. :)
 
A simple principle for mitigating risk is to completely uncouple all of the possible inputs (user-submitted forms, API calls, etc) from any possible mechanism for directly passing content through (ie. you sanitize it, modify or translate as necessary/appropriate, and move it along in a format or protocol over which you have complete control). Also, any error and exploit checking on the client side (web page) is just for the user's convenience; all the same checks must be applied on the server side.

[Add: malevolent actors can and do insert stuff into open source materials, but the advantage of open source is that the user community is so large and involved that it's difficult for that stuff to escape undetected for long. You have to know what you are using. There was an amusing prank years ago when someone created a library - called "everything" for node.js NPM that caused essentially all node.js libraries to become dependencies, and thus included, if you chose to use it.]
 
Back
Top