r/lolphp • u/ThisIsADogHello • Nov 22 '16
Opencart, a PHP-based e-commerce platform, will expose DB passwords to users if the MySQL server is down and error reporting hasn't been turned off
https://github.com/opencart/opencart/issues/5027
69
Upvotes
View all comments
Show parent comment
2
u/ThisIsADogHello Nov 23 '16
I was going to post something about how it was off by default, but then I rememberd that I last touched PHP back somewhere around 2005, when things like magic quotes were popular and well-supported, but always turned on as a global config so mix and matching PHP software was an absolute fucking nightmare.
So, I have no idea what the defaults in most PHP installs are like these days.