Article View: comp.os.vms
Article #78Re: ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire
From: Arne Vajhøj
Date: Sun, 25 Oct 2026 00:21
Date: Sun, 25 Oct 2026 00:21
47 lines
2909 bytes
2909 bytes
On 10/24/2026 5:04 PM, Dan Cross wrote:
> In article <11bj186$30n6f$1@dont-email.me>,
> Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 10/23/2026 9:59 PM, Dan Cross wrote:
>>> 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).
>>
>> Practically every technology provide a way to execute external
>> commands.
>
> Indeed, but the danger isn't the mechanism, it is the specific
> implementation. PHP is very often used to build applications
> that are exposed to all kinds of untrusted inputs. Backticks in
> an environment where much input is untrusted, for example, seem
> unnecessarily permissive.
Almost all languages has the capability including languages
used for web.
Even if Bill write CGI script in VMS Cobol he could call LIB$SPAWN.
And unlike many other languages then it easy to block in PHP.
Just add:
disable_functions = shell_exec
to php.ini and it is gone.
> term% php
> <?php
> $cmd='`pwd`';
> echo $cmd;
> eval("echo $cmd;");
> ?>
> `pwd`/home/cross
> term%
>
> Sure, its a cheat to use `eval` here, but maybe interpolation of
> backticks should not be allowed anywhere except an assignment,
> and perhaps PHP shouldn't have an `eval`.
eval is another function that need to be very strictly controlled.
Arne
Technical Details
Message-ID:
<11bji28$36hh1$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bcbi1$k068$1@dont-email.me> <nk2bhaF5j2sU1@mid.individual.net> <11bh3ei$19g$1@reader2.panix.com> <11bj186$30n6f$1@dont-email.me> <11bj6gh$mru$1@reader2.panix.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Arne Vajhøj <arne@vajhoej.dk> Newsgroups: comp.os.vms Subject: Re: ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire Date: Sat, 24 Oct 2026 20:21:41 -0400 Organization: A noiseless patient Spider Lines: 47 Message-ID: <11bji28$36hh1$1@dont-email.me> References: <11bcbi1$k068$1@dont-email.me> <nk2bhaF5j2sU1@mid.individual.net> <11bh3ei$19g$1@reader2.panix.com> <11bj186$30n6f$1@dont-email.me> <11bj6gh$mru$1@reader2.panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 25 Oct 2026 00:21:28 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3360289"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nEMvceXqsvYpLxijH4D/UJalEHkD1myo="; posting-host="c39ced0a3238a22363869b6a49ab031a" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:v2wGsDiKCkwcu6WErV0P/NozYQU= sha256:cVOu6Y6qBVvGuypONLA1ni0+m/y0WuUNTpIulbuyDdg= sha1:s+VLV3/YznKKWzCO5G5vAuZyOnM= sha256:bEvBs/wLsDqpbhN21ADm+zlrdhjgWyCAiQrp2oNf+m4= In-Reply-To: <11bj6gh$mru$1@reader2.panix.com> Content-Language: en-US