Bug 809146 - (CVE-2012-1902) CVE-2012-1902 phpMyAdmin: path disclosure flaw (PMASA-2012-2)
CVE-2012-1902 phpMyAdmin: path disclosure flaw (PMASA-2012-2)
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20120328,reported=2...
: Security
Depends On: 809149 809150 809151 809153
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-02 11:28 EDT by Vincent Danen
Modified: 2012-05-09 11:39 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-02 17:41:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2012-04-02 11:28:41 EDT
It was reported that phpMyAdmin 3.4.x suffers from a path disclosure flaw due to the missing verification of a file's presence.  The show_config_errors.php script did not first check for the existence of the configuration file, so if the configuration file did not exist, it would display an error message with the full path of this file.

For the error message to be displayed, the server must be configured to have error_reporting set to E_ALL and display_errors to On in php.ini; these settings are not recommended for a production PHP server.

This has been corrected in 3.4.10.2 via the following commit:

https://github.com/phpmyadmin/phpmyadmin/commit/c51817d3b8cb05ff54dca9373c0667e29b8498d4


External References:

http://www.phpmyadmin.net/home_page/security/PMASA-2012-2.php
Comment 1 Vincent Danen 2012-04-02 11:30:06 EDT
Created phpMyAdmin tracking bugs for this issue

Affects: fedora-all [bug 809149]
Affects: epel-6 [bug 809151]
Comment 2 Vincent Danen 2012-04-02 11:30:09 EDT
Created phpMyAdmin3 tracking bugs for this issue

Affects: epel-5 [bug 809150]
Comment 4 Fedora Update System 2012-04-30 14:33:32 EDT
phpMyAdmin-3.5.0-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2012-04-30 14:34:41 EDT
phpMyAdmin3-3.5.0-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Fedora Update System 2012-04-30 20:49:10 EDT
phpMyAdmin-3.5.0-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2012-04-30 20:55:42 EDT
phpMyAdmin-3.5.0-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2012-05-02 00:49:09 EDT
phpMyAdmin-3.5.0-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.