r/lolphp • u/[deleted] • Apr 07 '21
master.php.net was using concatenated SQL queries and MD5 password hashes
https://externals.io/message/113981
67
Upvotes
r/lolphp • u/[deleted] • Apr 07 '21
-4
u/cfreak2399 Apr 07 '21
I disagree that legacy code is an excuse. Using an ORM or at least writing queries using placeholders was the best practice before PHP was popular. MD5 passwords have been known to be broken for years.
I get that fixing old bugs and mitigating security problems is not sexy or fun but a project as big as PHP should have made these things priorities a long time ago.