Menu

#2604 (ok 2.11.4) Fatal error reveals the absolute path

2.11.3
fixed
1
2013-06-11
2007-12-09
No

from the irc channel:
rsc (n=robert@fedora/rsc) has joined #phpmyadmin
<rsc> btw, why is CVE-2007-0095 not fixed since 2.9.1.1?
<rsc> http://pma.cihar.com/themes/darkblue_orange/layout.inc.php <- CVE-2007-0095 is still unfixed.
(Robert seems to be the Fedora phpMyAdmin maintainer)

see http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0095

result when called directly:
Fatal error: Call to a member function getImgPath() on a non-object in
C:\PMA\QA211\themes\darkblue_orange\layout.inc.php
on line 75 (also confirmed on the demo server)

my suggested simple fix for themes/darkblue_orange/layout.inc.php:

<?php
// or after the header comment
if(empty($_SESSION['PMA_Theme'])) {
exit;
}

just my .02 €

Jürgen

Discussion

  • Robert Scheck

    Robert Scheck - 2007-12-09

    Logged In: YES
    user_id=203809
    Originator: NO

    See also https://bugzilla.redhat.com/show_bug.cgi?id=221694 for example, where another patch lives which seems okay for Michal Cihar.

     
  • Marc Delisle

    Marc Delisle - 2007-12-10

    Logged In: YES
    user_id=210714
    Originator: NO

    A patch for this minor security problem will be merged for 2.11.4.

     
  • Marc Delisle

    Marc Delisle - 2007-12-10
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2007-12-10

    Logged In: YES
    user_id=210714
    Originator: NO

    Please, for security issue, use the "Private" checkbox.

     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580
    Originator: NO

    so this is ok for 2.11.4 ?

     
  • Sebastian Mendel

    • summary: Fatal error reveals the absolute path (themes/darkblue...) --> (ok 2.11.4) Fatal error reveals the absolute path
    • priority: 5 --> 1
     
  • Marc Delisle

    Marc Delisle - 2007-12-15

    Logged In: YES
    user_id=210714
    Originator: NO

    Yes, I would merge Juergen's patch just before releasing 2.11.4 (or 2.11.4-rc1).

     
  • Marc Delisle

    Marc Delisle - 2008-01-04
    • summary: (ok 2.11.4) Fatal error reveals the absolute path --> Fatal error reveals the absolute path
    • priority: 1 --> 5
     
  • Marc Delisle

    Marc Delisle - 2008-01-05
    • priority: 5 --> 1
    • summary: Fatal error reveals the absolute path --> (ok 2.11.4) Fatal error reveals the absolute path
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2008-01-12
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed