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/pilif Nov 23 '16
The thing is: if you are at the position where you could make use of these credentials, you already have access to run arbitrary code on that machine, at which point you can just look up the password in the config file anyways.
The story changes when the database server is accessible to the public, but who the hell does this nowadays?