NHacker Next on Rails
  • top
  • new
  • best
  • ask
  • show
  • jobs
login
GuidelinesFAQListsAPISecurityLegalApply to YCContact

Hacker News on Rails, powered by React on Rails Pro. Open the source on GitHub by ShakaCode.

Commit 06fc0df

Rendered at 21:15:58 GMT+0000 (Coordinated Universal Time) with Rails + React on Rails RSC.

Cloudflare deploys protections against php2shell vulnerability (blog.cloudflare.com)

99 points by Maxious 7h ago | 15 comments

CrimsonRain 3h ago
Thank you cloudflare. This single action would save millions of websites from getting pwnd
mentalgear 5h ago
As big a fan of open software as I am, the combinations of open-weight LLM models that are capable of e2e cyber-penetration (even by actors that might just put in the compute and prompt it: "make me money") and the current mitigations that let those entities, that already hold too much data and power (political, infrastructure, etc), expand to become the eventual gatekeepers of the "open internet", is highly worrisome.

If you have ideas for how we can adjust to this safely and with an eventual more equal distribution of power, please do share.

totetsu 4h ago
The invention of the locomotive was also the invention of the train wreck. V. The disaster is not just "open weight" model penetrating everything, its is that we have built the whole world around an IT revolution that never really reached maturity and became secure. The chickens are just coming home to roost. Those same entities would become gate keepers of the LLMs too.
tick_tock_tick 51m ago
That sounds like some grand statement with answers. The inherent asymmetry of the attacker defender model means there will always be successful attackers.
solatic 3h ago
> we have built the whole world around an IT revolution that never really reached maturity and became secure

I don't disagree, but how does this relate to this incident, in practice? We're talking about a zero-day vulnerability here. What do you think should have happened - forbid any licensed IT practitioners from deploying PHP at all? No WordPress or Wikipedia?

stymaar 3h ago
Stop using memory-unsafe languages for anything unless a formal proof of safety is produced, only use OSes with strong sandboxing mechanism, make sure every piece of software is being sandboxed, etc. Or even just: “make the software authors liable of criminal negligence if an exploit occurs and they cannot demonstrate that they did everything possible to avoid it”.

It would indeed have slowed down the field immensely, but we would have avoided the chaos that is ahead of us right now.

And that sounds crazy compared to the standard we're used to, but what's crazy is that if your coffee machine explodes and harm you the makers are liable, but if your coffee machine is part of a botnet that disrupts a critical infrastructure, causing the death of people, then somehow the coffee machine maker faces literally no liability for not securing their IoT crap.

solatic 3h ago
But scripts written in PHP are themselves memory-safe. The problem here isn't in a particular PHP script, but rather in the underlying implementation of the PHP runtime, which was written in a memory-unsafe language.

If that's your standard, then Python isn't a memory-safe language either, since CPython is partially written in C. Same as many other memory-safe languages like Ruby, anything in the .NET ecosystem...

stymaar 2h ago
Sure, and that's the problem: if security was taken as seriously as in any other industry then all of the above languages would have been written in SPARK(or its successor, which would likely have happened much before Rust had safety been paramount).
arm32 4h ago
I’m not sure I’ve ever heard of a locomotive being used as a weapon. Maybe a more apt comparison would be “nuclear fission invented nuclear fallout”, no?
unsnap_biceps 2h ago
Intentional derailment is something that has happened which feels closer to the example then using the train itself as a weapon IMHO. https://en.wikipedia.org/wiki/Battle_of_Mill for example
choeger 5h ago
https://www.basis.ai/blog/ship-your-interpreters/

This is the counter. Make your software provably correct. Then you don't need gatekeepers nor to fear any attackers.

Melatonic 3h ago
For anybody running Crowdtrike are there any downsides to enabling the Linux sensor settings for "Enhanced PHP visibility" ?

Edit: may have gotten Cloudflare and Crowdstrike mixed up but might as well leave this up

lexoj 4h ago
After so many security issues, it’s kinda obvious to me that the present/future will need more security experts, or time invested in cybersecurity.
sankalpmukim 4h ago
very very impressive how fast these guys are
pelican0 22m ago
From the article:

> Cloudflare has been part of a coordinated effort to deploy mitigations to protect the Internet, working with PHP foundation, OpenAI and Wiz among others. Cloudflare has developed and deployed web application firewall (WAF) protections since early October 2026, which were deployed about 9 hours ahead of public disclosure