Article View: comp.os.vms
Article #128Re: ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire
From: Arne Vajhøj
Date: Fri, 30 Oct 2026 18:52
Date: Fri, 30 Oct 2026 18:52
91 lines
4021 bytes
4021 bytes
On 10/28/2026 9:55 PM, Lawrence D’Oliveiro wrote:
> On Wed, 28 Oct 2026 20:44:54 -0400, Arne Vajhøj wrote:
>> On 10/28/2026 12:47 AM, Lawrence D’Oliveiro wrote:
>>> On Unix-type systems, it is common for one program to directly
>>> spawn another without going through a shell. This avoids, at one
>>> stroke, all the potential problems with having to escape characters
>>> with special meanings to the shell. For example, dollar signs and
>>> spaces in file names, special characters indicating pipes,
>>> redirections etc. This makes the spawning of external commands much
>>> safer.
>>
>> Hmmm.
>>
>> First then the shell question is not really an issue on VMS. On VMS
>> starting a program via shell does not create two processes - it only
>> creates one process with DCL in P1 and the program in P0/P2.
>
> That’s not the issue, though. The issue is how you pass command-line
> arguments to the spawned program.
OK
>> Second then on VMS it is possible to create a process with DCL mapped
>> or a process without DCL mapped - your choice.
>
> If you want to pass a command line, you need to have a command-line
> interpreter -- no choice.
> So my original comment does need a correction: VMS doesn’t quite
> suffer from the “same fundamental limitation” as Windows: it suffers
> from a worse one.
I don't see the problem.
VMS is not Unix. There are some paradigm differences.
If you are going to start a Fortran or Pascal program that
uses LIB$GET_FOREIGN to get the command line, then a
command line need to exist.
If you think only C then you can avoid the command line.
$ type pp1.c
#include <stdio.h>
#include <unistd.h>
#include <wait.h>
int main()
{
printf("pp1 pid=%d\n", getpid());
pid_t pid = vfork();
if(pid == 0)
{
char *args[] = { "pp2.exe", "a", "b b", "c c c", NULL };
execv(args[0], args);
}
else
{
int status;
wait(&status);
printf("done\n");
}
return 0;
}
$ type pp2.c
#include <stdio.h>
#include <unistd.h>
int main(int argc, char *argv[])
{
printf("pp2 pid=%d\n", getpid());
for(int i = 1; i < argc; i++)
{
printf("%s\n", argv[i]);
}
return 0;
}
$ cc pp1
$ link pp1
$ cc pp2
$ link pp2
$ run pp1
pp1 pid=1059
pp2 pid=1072
a
b b
c c c
done
Arne
Technical Details
Message-ID:
<11c2p0a$gsl1$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> <11bj186$30n6f$1@dont-email.me> <11bj6gh$mru$1@reader2.panix.com> <11bji28$36hh1$1@dont-email.me> <11bjjek$j9t$1@reader2.panix.com> <11brfro$20u59$1@dont-email.me> <11brups$24k82$2@dont-email.me> <11bu4tj$2u4tg$1@dont-email.me> <11bu926$2v6aq$1@dont-email.me>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: Fri, 30 Oct 2026 14:52:15 -0400 Organization: A noiseless patient Spider Lines: 91 Message-ID: <11c2p0a$gsl1$1@dont-email.me> References: <11bcbi1$k068$1@dont-email.me> <11bj186$30n6f$1@dont-email.me> <11bj6gh$mru$1@reader2.panix.com> <11bji28$36hh1$1@dont-email.me> <11bjjek$j9t$1@reader2.panix.com> <11brfro$20u59$1@dont-email.me> <11brups$24k82$2@dont-email.me> <11bu4tj$2u4tg$1@dont-email.me> <11bu926$2v6aq$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 30 Oct 2026 18:51:54 +0000 (UTC) Injection-Info: dont-email.me; logging-data="553633"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wSFo9NPJWy8NJ5/TUt8eVom/i/HJjUDg="; posting-host="d7da77183d3ca5fdae496aba5520f6a7" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:15RWijQH4+XEYSvAE3Szsz6I5cU= sha256:tMpu1ousbbaFDP7/UhUuQg4tGpIHnpl2D7wbfSk7A7c= sha1:xEuy5woMsr1aHuMfkF7/azOgOqQ= sha256:MAC3eul2PwjhTjd7YwGiXAfhHavg3TfC2WJlb8s9pvc= In-Reply-To: <11bu926$2v6aq$1@dont-email.me> Content-Language: en-US