=====================================================================
                                   CERT-Renater

                        Note d'Information No. 2009/VULN152
_____________________________________________________________________

DATE                      : 15/04/2009

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running phpMyAdmin versions 3.x.

======================================================================
http://www.phpmyadmin.net/home_page/security/PMASA-2009-4.php
______________________________________________________________________


PMASA-2009-4

Announcement-ID: PMASA-2009-4

Date: 2009-04-14
Summary

Insufficient output sanitizing when generating configuration file.


Description

Setup script used to generate configuration can be fooled using a crafted
POST request to include arbitrary PHP code in generated configuration file.
Combined with ability to save files on server, this can allow unauthenticated
users to execute arbitrary PHP code. This issue is on different parameters
than PMASA-2009-3 and it was missed out of our radar because it was not
existing in 2.11.x branch.


Severity

We consider this vulnerability to be critical.


Affected Versions

For 2.11.x: versions are not affected.
For 3.x : versions before 3.1.3.2.


Solution

Upgrade to phpMyAdmin 3.1.3.2 or apply patches listed below.


References

Thanks to Tenable Network Security, who have discovered this issue and
reported it to us.

Assigned CVE ids: CVE-2009-1285


Patches

Revision 12342 and revision 12348 were applied on all affected branches.

For further information and in case of questions, please contact the phpMyAdmin
team. Our website is http://www.phpmyadmin.net.


======================================================================

          =========================================================
          Les serveurs de référence du CERT-Renater
          http://www.urec.fr/securite
          http://www.cru.fr/securite
          http://www.renater.fr
          =========================================================
          + CERT-RENATER          | tel : 01-53-94-20-44          +
          + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
          + 75013 Paris           | email: certsvp@renater.fr     +
          =========================================================


