On 10/30/2026 7:06 PM, Lawrence D’Oliveiro wrote:
> On Fri, 30 Oct 2026 14:04:22 -0400, Arne Vajhøj wrote:
>> They should disable the dangerous PHP functions.
>
> What if that breaks a particular PHP application that somebody needs
> to run?
As with anything else then it would need to be looked at.
(I will assume shell_exec, exec, proc_open, system, passthru etc.)
* Does the output from the system that end up executing the command
represent what is really needed (think single node vs cluster)?
* Is that output only available via external command and not via
an API (VMS PHP offers access to $getjpi and $getdvi)?
* Does the application provide business value?
* Has the usage been reviewed for security vulnerabilities
(command injection)?
* Are there a process in place to ensure that all future
updates are also reviewed?
If 5 x YES then it will likely be allowed.
But this is not a typical web application.
The only type of application I can think of is some sort
of system administration web application.
I have not had the need to run external commands from
web app since 1996.
And I tell you if 1996 Arne brought that C CGI code to
review in front of 2026 Arne, then it would be thumbs down.
Arne