docker-adminer icon indicating copy to clipboard operation
docker-adminer copied to clipboard

php -S runs single-threaded / DOS attack vector

Open W1zzardTPU opened this issue 7 months ago • 1 comments

Since PHP is running in single-threaded mode, opening a new tab while executing a long-running query will hang.

This can also be used for DOS attacks, since a single user can block access for everyone else by running SLEEP(1000000)

W1zzardTPU avatar May 11 '25 06:05 W1zzardTPU

Did a bit of research, php:x.x-apache looks like a good alternative

W1zzardTPU avatar May 19 '25 03:05 W1zzardTPU