🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.vms
Article #57

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

#57
From: Dan Cross
Date: Sat, 24 Oct 2026 01:59
54 lines
3412 bytes
In article <nk2bhaF5j2sU1@mid.individual.net>,
Bill Gunshannon  <bill.gunshannon@gmail.com> wrote:
>On 10/23/26 17:11, Dan Cross wrote:
>> 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?
>> 
>I'll just throw out the one I saw abused the most.
>And, again, I am no longer involved maybe this went
>away eventually but....
>
>It was possible to get PHP to execute arbitrary commands
>sent to it when it was used on the web.  I saw people
>from outside the university doing things like listing
>directories and uploading files containing potentially
>dangerous code.
>
>And, no, I no longer have any of the examples.  It was
>possible to tighten security up to stop it but that also
>stopped things the professors and students wanted to do.
>
>I do  not now and would never consider using PHP for anything.

With the disclaimer that I've never really used PHP other than
playing around once or twice, I kind of remember that it could
use backticks to perform command substitution, like Perl or a
Unix shell.  My guess is that if user input had `cmd` in it and
was interpolated into a print statement or something without
escaping, it would run a command and interpolate the output
into whatever it printed.

It's probably true that a language like PHP shouldn't have that
kind of thing built into it.  But it's also true that that's a
programming error (failure to sanitize one's input).

	- Dan C.
Technical Details
Message-ID: <11bh3ei$19g$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> <nk1gv8F1eecU1@mid.individual.net> <11bgih8$f7a$1@reader2.panix.com> <nk2bhaF5j2sU1@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: Sat, 24 Oct 2026 01:59:46 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <11bh3ei$19g$1@reader2.panix.com>
References: <11bcbi1$k068$1@dont-email.me> <nk1gv8F1eecU1@mid.individual.net> <11bgih8$f7a$1@reader2.panix.com> <nk2bhaF5j2sU1@mid.individual.net>
Injection-Date: Sat, 24 Oct 2026 01:59:46 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
	logging-data="1328"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)