🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.vms
Article #54

Re: Re: ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire

#54
From: Dan Cross
Date: Fri, 23 Oct 2026 21:11
54 lines
3627 bytes
In article <nk1gv8F1eecU1@mid.individual.net>,
Bill Gunshannon  <bill.gunshannon@gmail.com> wrote:
>On 10/23/26 07:51, Dan Cross wrote:
>> [snip]
>> When I first saw PHP, I assumed they were trying to provide an
>> alternative to ASP and CFML, where one interleaved HTML and
>> program snippets.  The syntax was clearly inspired by Perl,
>> which was popular at the time among the audience that PHP seemed
>> targeted for.
>> 
>> In product terms, PHP has been amazingly successful.  From a
>> language design perspective, well...maybe not so much.
>
>When I first saw PHP I saw a massive security problem.  Sadly, people
>still insisted on using it.  Being retired I no longer have to spend my
>time cleaning up for other peoples mistakes but I doubt that the
>security behind PHP has improved.

It feels a bit silly asking this now, but in what way?  I mean,
what at the time stuck out as an obvious security hole?

The early web was a mess.  The protocol was hugely wasteful; the
markup language was anemic, and people were resorting to all
kinds of bad ideas to try and build content (constructing forms
from tables, for example, so that boxes could be aligned).  The
web had coalesced around an example from a book with a single
addition, but like a high-school kegger, the word got out and it
quickly got out of hand. A lot of non-technical people were
authoring web pages and web sites by writing HTML directly.
They didn't _want_ to become programmers.

CFML, ASP, and PHP stepped into that world and filled a bit of a
void.  It inverted the model; you weren't writing programs to
generate markup guided by the program's behavior, you were
injecting behavior by embedding little snippets of programs in
your markup.  The design-oriented types who wanted to focus on
content could largely do that.  I don't think that has to be
inherently insecure, though I can see how having someone around
to add a bit of domain expertise to the mix can prevent a lot of
problems down the road.  Textual interpolation is a powerful
tool; so is a chainsaw.  Both can do a lot of damage.

The web model, built around links between tree-oriented document
objects serialied into an overly-verbose text format with
(frankly) weird parsing rules has caused a lot of damage.  The
tree-oriented structure itself isn't bad, but it's expression in
HTML is not good, either.  I think that leads to more problems
than just PHP.

But PHP is also a "Fractal of Bad Design":
https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

	- Dan C.
Technical Details
Message-ID: <11bgih8$f7a$1@reader2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
References: <11bcbi1$k068$1@dont-email.me> <20261023123938.000065e7@yahoo.com> <11bfhnc$li2$1@reader2.panix.com> <nk1gv8F1eecU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: Re: ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire
Date: Fri, 23 Oct 2026 21:11:04 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <11bgih8$f7a$1@reader2.panix.com>
References: <11bcbi1$k068$1@dont-email.me> <20261023123938.000065e7@yahoo.com> <11bfhnc$li2$1@reader2.panix.com> <nk1gv8F1eecU1@mid.individual.net>
Injection-Date: Fri, 23 Oct 2026 21:11:04 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
	logging-data="15594"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)