It used the development server in PHP, and did not even run requests with fpm or mod_php. Instead, it used the built in dev server of PHP, and just proxied requests from nginx to the php dev server.
Literally the first thing on top of the PHP docs about the dev server used here is this: "Warning This web server is designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server. It should not be used on a public network."
That is not something people do, and it also explains why the site was down all the time, cause the dev server is super slow, as it's not meant for this in any way shape or form. A real setup would add a few zeros to the requests per second a server could handle.
So all in all, this was very pointless, as it was nothing like real php sites. A shame, cause a realistic setup woild be more interesting and relevant to answer the question of how hard is it really to gain RCE on a normal site.
[–] decidu0us9034 4 days ago
[–] rockdoe 4 days ago
I'm skeptical of the value of such setups, unless it's clear it's an out of the box setup, and we already know those are totally broken.
I don't understand who these people think they are really fooling. Is this some AI denial?
[–] gewetensleegte 3 days ago
[–] rockdoe 2 days ago
[–] ffaccount2 4 days ago
[–] someothherguyy 4 days ago
many php setups sit behind nginx, caddy, or other webserver with a max body size limit.
anyone following OWASP / similar guidelines was probably okay here (for this particular PoC path), if not using apache/mod_php, i would think.
[–] toast0 3 days ago
Behind nginx or similar isn't exactly on a public network. I don't think I'd run it that way, but I could see someone else doing it if they read the docs a certain way.
[–] tonymet 4 days ago
At first glance, this wouldn't affect demonstration of the vuln.
[–] weird-eye-issue 4 days ago
[–] nodja 4 days ago
Nitter mirror: https://nitter.netbub.com/LiveOverflow/status/21144120728052...
[–] unsnap_biceps 4 days ago