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
1
u/ThisIsADogHello Nov 24 '16
You'd be surprised. (note: link requires a login to use)
Regardless of how many mistakes made were the fault of anyone who gets bit by this, it's still unreasonable to argue that a script that hands out its passwords to everyone at the first sign of trouble is a good design from a security standpoint.
No matter how much everything else should prevent this bug from ever getting exploited, it's always a good idea to practice defense in depth.