Australia's Leading Computer Emergency Response Team

ESB-2012.0322 - [Win][UNIX/Linux] phpMyAdmin: Access privileged data - Remote/unauthenticated
Date: 29 March 2012
Original URL: https://auscert.org.au/render.html?cid=1980&it=15653

Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2012.0322
             A vulnerability has been identified in phpMyAdmin
                               29 March 2012

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           phpMyAdmin
Publisher:         phpMyAdmin
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Access Privileged Data -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-1902  

Original Bulletin: 
   http://www.phpmyadmin.net/home_page/security/PMASA-2012-2.php

- --------------------------BEGIN INCLUDED TEXT--------------------

PMASA-2012-2

Announcement-ID: PMASA-2012-2

Date: 2012-03-28

Summary

Path disclosure due to missing verification of file presence.

Description

The show_config_errors.php scripts did not validate the presence of the 
configuration file, so an error message shows the full path of this file, 
leading to possible further attacks.

Severity

We consider this vulnerability to be non critical.

Mitigation factor

For the error messages to be displayed, php.ini's error_reporting must be set 
to E_ALL and display_errors must be On (these settings are not recommended on 
a production server in the PHP manual).

Affected Versions

Versions 3.4.x are affected.

Solution

Upgrade to phpMyAdmin 3.4.10.2 or newer or apply the related patch listed 
below.

References

Thanks to Mateusz Goik from AliantSoft for reporting this issue.

Assigned CVE ids: CVE-2012-1902

CWE ids: CWE-20 CWE-200

Patches

Following commits have been made to fix this issue:

    c51817d3b8cb05ff54dca9373c0667e29b8498d4

More information

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

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBT3Oyku4yVqjM2NGpAQK0Gw//bkqJnAdtqRGubeENmqPZN78thWNvHozY
amAoTFbXv/MDTbKIlKpX/qZ81svZXQJRNKysvnrwQ6WefddfwrcttwU6VFE1OIBX
1vFF5pkP4QPv5jyclEU401rBXEneBuBBDD42t8q0elp4/HntoX/cpn0AzmAoR+g6
DdQZni+a6GkM/oEEi28fq1X6Ji074gwnI25AeQ8rmHxnkWl0bfKr51jC3z7ye1t6
0mJN07nlX5oJ0B6zZFyMv8CHN13Ac8h5KiV3xQow0YgELLKQpgpyJRczEgUOnrns
CFgVpuQYv5+8tzXkUTUvLcLgjISvR73LWBHAmd/o0upTZQz1UhYgqdQwyFXPPMvo
aI/p7j8mGugBq/mO/q8bFJk0NscDuNLwAVcxMVW7/WkgPTz/fPZWbVbJfxBle1x1
NoJBjmBtCW8d8clREnfl6RF1Guvd1INaOleA4wonqvASr/KtV87vb5fZj6DwfG+y
jPE4yHv6/RJfr2HARg8poZTcAQJmMzr2tlQWzVPtK1kI/SQl7ZFPo+o1P8xL2DF+
GjFPN3w8xS7BRSdokTWTNN7gAH/lQ1YRQm+CqTGWh0XalycLrByg4WQ6r7j9tybD
E7+tUZOijJA1eJyfnCZjcQAYj296qjuOxgfICtfhW6NKyuNwbIA1yjM6I1MG06P2
vFciXt5T3z8=
=RHwC
-----END PGP SIGNATURE-----