PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB » Bug #7768

DSN is return in case of connection problem

Details

Submitted2006-05-31 12:57 UTC
Frommarkus at emedia-solutions-wolf dot de
Assigneddanielc
StatusBogus
PackageDB
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2006-05-31 12:57 UTC] markus at emedia-solutions-wolf dot de

Description:
------------
When a connection problem occurs during the connect method, then the DSN is added as user info to the error object.
In production environments this leads to a security breach since the database password is included and not masked.

[2006-06-09 11:53 UTC] markus at emedia-solutions-wolf dot de

Then its not me, but DB_DataObject. ;)
I found this problem on a live site we are hosting where the connection data was exposed to the client while the database was offline...