View Issue Details

IDProjectCategoryView StatusLast Update
0003655OXID eShop (all versions)4.07. Source code, Testpublic2012-12-18 14:21
Reporterstefan2 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version4.5.8 revision 42471 
Target Version4.6.6 revision 54646 
Summary0003655: ADODB_Exception: Stack trace shows user/pass for database connection
Descriptionif database is not accessible the stack trace shows the whole connection data. Thats security relevant and should not be shown.

#2 /path/core/oxdb.php(158): ADOConnection->Connect('HOST', 'USER', 'PASS', 'DATABASE')
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

has duplicate 0004949 resolvedLinas Kukulskis ADODB_Exception reveals ALL database access codes 

Activities

dainius.bigelis

2012-03-02 10:05

reporter   ~0005864

Error occurs only when eShop debug mode is ON.
When debug mode is OFF ($this->iDebug = 0;), then it shows only "Shop offline!".

aurimas.gladutis

2012-12-18 14:21

reporter   ~0008168

Last edited: 2012-12-18 14:21

Hi, as mentioned above, this is only shown when shop is in debug mode and various information is available in this mode, which should not be shown in working shop.
As password is not shown (it shows * instead of password, e.g. CONNECT(localhost, 'root', '****', oxid) ), we do not see it as security issue.