Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on feddit.org

84 replies

These vulnerabilities are only news stories because developers don't develop strategies to patch their products rapidly enough.

1

Node has literally always been like this. It’s just a risk you accept when you choose to use it.

3

Why are people mad? These issues existed and now they don't. It's not like the researchers created them

27
lemmy.zip

The sky is falling... Except it isn't. Standard nonsense self advertising. And yes, vulnerabilities exist and canleasd to badness. We agree. It has always been so.

17
wampusreply
lemmy.ca

Well, I mean, the AI advances have moved the mean time to exploit between a zero day being announced, and it actively being exploited en masse, from about 3 weeks in 2018, to about -1 day in 2026. So, things have changed a bit.

6

To be fair, this is literally the only thing AI is being sold as useful for that actually works.

2
lemmy.ca

While the world reels from websites being taken down before critical PHP patches were released

Is it just me or did anyone else not even notice outside of articles lol... It was all resolved by the time I got off work.

22

The only site I knew was affected was the next cloud homepage which I checked for updates if they already had a patched version for there docker containers. So I thought it quite funny that the site I visited to see if they had fixed it was also affected.

2
lemmy.world

It’s not resolved until everyone installs the patch. And there in lies the problem.

17
IronKrillreply
lemmy.ca

An important point yes and I do understand that, but the major players like Steam were updated and done before I knew it. I have no doubt this could come back to bite companies/people lagging behind over the next few years, but the impact to me from websites being taken down was 0, which was my point.

5
Rimureply
piefed.social

The companies with well-resourced dev teams would have been able to deal with it. But for every one of those there's 50 companies with no dev team who are sending frantic emails to the guy who quit 3 years ago asking if he's available for some urgent work. And another 50 that are not sending any emails because they're oblivious and will get pwned in a few months.

A lot of PHP apps are old, unmaintained or run by people with no idea. That's kinda it's niche.

6

Not entirely accurate. I happen to be my company's 1 man IT army, and I got it all plugged within 4 hours (php2shell, CA certificates, which I only had to rotate, etc). It was bad, but the noise was even worse. If IT departments are proactive and do their jobs, the actual problems should be little to none.

Then I did the same in my proxmox, everything is just fine.

3

Yeah but this wasn't an exploit in PHP applications, this was an exploit in PHP.

Our resolution was to unzip a new directory and change the path to PHP in Apache conf

4

Yeah back then update and patch can go after month because problem found in months too or year, now because automated tools called LLM exist, those who find problem or even make on and exposing vulnerability can do it in minutes, it is inevitable.

-1
piefed.social

Yeah, so here's the thing. People keep trying to bash on PHP as if anything software isn't manmade and comes baked with flaws that can be exploited. It's the single reason why cybersecurity products are never going to stop being used because no matter what, it's based on something somebody made.

It's going to be flawed or be exploitable by some means. Yesterday it was Log4J, now it's PHP, tomorrow it will be something else. It will never end. Companies deliberately also use this to force you to upgrade because they've abandoned "legacy" products that still work but which they no longer choose to maintain because they want more money and need to stifle you for it somehow.

17
neclimdulreply
lemmy.world

rihht? opencloud posted a really tacky "nextcloud is dealing with this. checkout open cloud. written in go."

dude... do we need to drop a link to the golang cves? they had a critical bug this year.

ruby? critical regex rce this week.

nodejs? same.

php made the news because of the embargo break making it go viral and everyone loving to hate on php. But people in glass houses should be careful throwing stones.

6
lemmy.ml

How's Rust holding these days I wonder? Always wished I had learned it when it first came out ha.

1

Rust itself doesnt get mant CVEs and its been quiet so thats nice.

its worth noting its a bit different than languages I listed and lower-level. Those languages are also runtimes that provide a large set of features that run with your code.

That means while you could write websites in Rust, reall it is what you might consider writing PHP in if you started in 2026 not an alternative. Its more closely like MUSL(did get a recent big security release 🙄) or glibc.

2
feddit.org

Imagine working in IT security. How bad a time are you having right now? Are we expecting things to become better or worse the next few months?

15

When you've been at battle stations for 12 years it just feels like another week.

Open a ticket and add it to the list.

20

Am in IT. These last few days were pretty annoying. 3 mandatory meetings a day. Scrambling to find the right person for our 3rd party stacks.

The fix was pretty easy once we had it. Just annoyed that this is going to only get worse.

1

I am… well sorta. My team has to deal with the cleanup and repercussions at least. Let’s just say this week was not fun. At all.

In addition to the eMudhra certs and the php issue, there were also issues with python, Oracle, Java, and node.js. The certs and php were definitely the highest profile. They shut down incoming traffic to university web servers for the php one. The certs would have been more of a problem if we had extremely short expiration times

5
ell1ereply
leminal.space

but what about vulnerabilities in the web server? 😱

19
Sirureply
discuss.tchncs.de

Has pure HTML (no css, no javascript) ever had a serious security issue? On the server side obviously not (outside of the apache/nginx/etc. having application bugs), but even on the client side has there ever been an exploit?

13

I think there's been one or two image decompression exploits over the years, so a site with a malicious file could end up running code on your system. I remember this being an issue with Minecraft clients and player skins at one point, but I can't remember any specific times this happened in browsers tho.

8
Zarobireply
aussie.zone

Yeah but if it's just pure HTML you got an ugly-ass website that's annoying to use. There's been many JavaScript and css vulnerabilities over the years of course. But yes there was and still is plain HTML issues

Client side:

  • I vaguely remember some base64 embedded encoding malware.
  • I do believe there was some issues with early HTML, if you had malformed tags, that could bypass checks and balances.
  • Svg, Images, audio, fonts, and video can definitely contain malware. Before you say fonts are a css thing, was a real tag
  • IFrames were the worst:
    • They had too much power in the past and could hijack the page and browser.
    • There was no content security policy back then so they could inject JavaScript into the main page as well.
    • Also they can cover the whole screen and present a normal login screen, and hijack all inputs going through it. Think of it like you're on dodgey-site.com and it has a full page IFrame to bank.com. This was a common hack back in the day which inspired an entire http header to help prevent this.
  • Anchor tags can link to something dodgey of course.
  • Embedded PDFs were a huge issue.
  • ActiveX and other web applets was just fucked. They were so bad they caused malware constantly. This is where unsolicited toolbars came from.
  • Adobe Flash had many many vulnerabilities over the years.
  • Canvas bugs are still a thing today.

Server side, you could execute SQL injection and path traversal just via URL before the page even loads. Malware and other issues can be embedded in text inputs. HTML can be uploaded to the server and in some cases replayed on the page affecting other users (comment sections were infamous for this).

So yeah; a plain HTML page with no JavaScript or css isn't necessarily safe

3

Oh yeah, everyone loves black text on white background, with each div placed sequentially in a vertical stack :) really gives it that vintage mid 90's dial up internet "the website failed to load CSS" look

There's nothing wrong with CSS. Arguably it's been overcomplicated way beyond it's original scope, but it works as designed to make your sites look good

2

I build custom websites that run primarily on css and html. Light JS for applications, and some simple PHP to tie everything together. I am unaware of any flaw or exploit that would disable my sites. I don't recall any html vulnerabilities. Unless there's e-commerce involved, that's nothing I can think of that would be exploitable on either side for html or css. These are both hard coded into the browser so I'm not even sure what an exploit would accomplish other than changing values on the client side. But it's been a long week...

Edit Looks like zarobi below remembered some exploits. Totally forgot about iframes and the weird image data exploits.

3
techtreply
lemmy.world

I never noticed how long the sales guy's hand is

5
lemmy.world

I mean I'll update my Node version, but until someone actually finds an exploit chain on a real system (instead of a vibecoded PoC) I don't see any reason to panic. All these "could"s and "would"s in the article suggest that it's kind of a nothing-burger imo

50

Uhm. There's a release called Node2Shell, linked in the article.

3
[deleted]reply
piefed.world

I'll bet this is another "AI found a known vulnerability so people are making a big deal about it" like the PHP one.

16
aksdbreply
lemmy.world

If it’s really a PoC, it would actually execute and therefore exploit something (otherwise it wouldn’t be a proof). In which case it doesn’t matter if it’s vibecoded or not. If you succeed in breaching a system with it, there’s an issue that needs to be fixed.

6
pythonreply
lemmy.world

That's exactly the thing. They call themselves PoCs, but most of the time the exploit chain that they "prove" relies on some extremely unrealistic condition, like the intruder already having elevated privileges. Or it's just completely made up and the PoC only "works" because the AI changed the source code. It's incredibly unreliable.

5

I think you're speaking in general and not about this specific case. This is an unauthenticated remote code exploit. All that needs to happen is your website accepts a brotli from a client or from an external api and tries to read it.

This is a bad one. Broke my no deploys on Friday rule for it.

5

Pure sensationalism. We should celebrate new tools helping us to make oir software safer ... but, nah, the end is nigh ... start digging, and buy non-perishables, bullets, and lube

4
lemmy.world

every time the sun rises, shines and sets; a million new node vulnerabilities are discovered

be careful, obviously, but don't let it turn your entire nervous system into pure crystallized cortisol

you can deal with it on Monday

27
pythonreply
lemmy.world

It is kinda funny to hear the manager say "Brotli" as if it were some cursed ancient artefact tho. I'm down to not tell the managers that this is overblown bs. Let them think that we saved the system from certain doom.

7

If only it were that easy, if you do that, the managers will be grateful certainly, but they will also endlessly demand more proof and validation that the system is now completely safe from certain doom until they feel comfortable, which is never. In a lot of cases it's simply easier to convince them that the system was never vulnerable to certain doom in the first place, because you were of course already 5 steps ahead of this even in the planning stages, and for some reason they have an easier time accepting that, as long as they still have every reason to believe you are a brilliant tech god who would never personally fall victim to such a common vulnerability. I suppose it's really less about the reality of the situation and more about what kind of corporate image you are cultivating and maintaining for yourself.

2
lemmy.ca

This what you get for running JS as your back end!

32

While it's a bit opportunistic to blame JS in the backend in this case, I despise JS in the backend enough to happily join you.

Serves you well JS enthusiasts, your programming language is the only one that I despise more the more I learn about it. :P

3

This always struck me as a rather silly idea, to be honest.

Now we've come full circle. I have a vendor who is insisting that I use node.js and pull their code from their NPM repository from the same... For frontend code. Just, have the entire contents of your (their) node_modules folder exposed to the public internet at all times. Isn't this just Javascript with extra steps?

22
IronKrillreply
lemmy.ca

A direct quote from the article:

Node.js flaws follow the PHP scare. Is this the end of the web?

So yeah, click-baity. The structure of the article was awkward too with lots of repetition, which makes me suspect at least some LLM use.

4

the technique of repetitions there didn't do the expected subject emphasis for me.

now that you mention it, influence of llms could be what it is.

2

No. Put the Genie back in the bottle. We need air traffic control for this shit. Or we just have to shut down all the PHP and NodeJs servers. (This is sarcasm...mostly.)

4
aussie.zone

Depends on how you handle the OOM error though, aborting the process is fine while "try to recover and continue" is the problem.

1

In lua you will typically lua_pcall() the entry function written in Lua, but it will often call back into your C functions to do various tasks. Now if your C functions do anything with the lua stack, that might cause OOM, but now your lua_pcall() will catch that - or any sort of error catching inside Lua itself - and you'll be looking at an accidental recovery situation.

At least that was how things looked like when I last poked around Lua a few months ago.

So as far as I know, it's actually not trivial to make Lua safely abort on OOM, and it's not the default behavior. I also don't think there are lua_push* function alternatives available using the default C API that don't longjmp in a likely often unsafe manner out of your C code if you use them and you hit OOM.

Summed up, I would expect many Lua integrations to have the same problem.

1
gdog05reply
lemmy.world

I've not heard of any recent COBOL vulnerabilities

9