Remix.run Logo
▲ londons_explore 3 hours ago

I was under the impression that this sort of bug is fairly common in both php and common php frameworks?

I thought the real lesson was "assume your web server is compromised if you use php, and try to make sure php doesn't touch anything too critical"

▲user43928 an hour ago | parent | next [-]

I'm struggling to see any reason to use PHP in the first place if it can run without access to private data.

At that point I would not need a backend.

▲arm32 2 hours ago | parent | prev | next [-]

Yes, there have been decades of talk about this already—ensuring you isolate/jail the PHP-related processes and run them with an unprivileged user, etc.

▲dizhn 2 hours ago | parent | prev [-]

It's usually scripts that can write to /tmp and run unrelated stuff with web user rights. This seems more involved.