[41651] in bugtraq

home help back first fref pref prev next nref lref last post

Re: IMOEL CMS Sql password discovery

daemon@ATHENA.MIT.EDU (Steven M. Christey)
Wed Dec 14 17:43:10 2005

Date: Tue, 13 Dec 2005 23:23:30 -0500 (EST)
Message-Id: <200512140423.jBE4NUGt021000@cairo.mitre.org>
From: "Steven M. Christey" <coley@mitre.org>
To: silversmith@ashiyane.com
Cc: bugtraq@securityfocus.com


Hello,

>IMOEL CMS has the weakness to download the plain text sql password in
>the setting.php file
>
>*/*************************************
>$setting['host']['username'] = 'sqlusername';
>$setting['host']['password'] = 'sqlpassword';
>
>***************************************
>so u can download the setting.php file & view the plain text password

These commands appear within a "<?php >" construct, so on a properly
configuredeb server, I would think that the code would be executed due
to the ".php' extension.  So there would not be any leak to a remote
attacker unless the attacker used some other vulnerability to obtain
the file.

Or is this a concern for multiple users on the same server?  (I don't
know PHP that well so apologies if this is a dumb question.)

- Steve

home help back first fref pref prev next nref lref last post