Computer Security
[EN] securityvulns.ru
no-pyccku



Related information

  Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)

  Philboard (id) Remote SQL Injection

  [ECHO_ADV_64$2007] Openi CMS plugins (site protection) remote file inclusion

  KvGuestbook Remote Add Admin Exploit

  phpPolls 1.0.3 (acces to sensitive file)

From:raphael.huck_(at)_free.fr <raphael.huck_(at)_free.fr>
Date:12.02.2007
Subject:MediaWiki Full Path Disclosure Vulnerability

Vendor: MediaWiki
Vulnerable: MediaWiki 1.9.1 and below
Bugtraq ID:
Secunia Advisory:
Release Date: 2007-01-29

Full Path Disclosure

This vulnerability affects all the default skins:
http://www.example.com/wiki/skins/Simple.deps.php
http://www.example.com/wiki/skins/MonoBook.deps.php
http://www.example.com/wiki/skins/MySkin.deps.php
http://www.example.com/wiki/skins/Chick.deps.php

When they are called, the scripts do not check that they have been called by another page of the wiki, so when they are called directly, they disclose the full path of the webroot, and the directories searched for PHP includes.

Warning: main(includes/SkinTemplate.php): failed to open stream: No such
file or directory in /srv/xxx/xxx/wiki/skins/Simple.deps.php on line 8

Fatal error: main(): Failed opening required 'includes/SkinTemplate.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/srv/xxx/xxx/wiki/skins/Simple.deps.php on line 8
       


Solution

I've filed the bug (http://bugzilla.wikimedia.org/show_bug.cgi?id=8819), and it has been solved in revision 19681 (http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=19681) very quickly.

Advisory

http://zone14.free.fr/advisories/7/

About | Terms of use | Privacy Policy
© SecurityVulns, 3APA3A, Vladimir Dubrovin
Nizhny Novgorod

 
 



Rating@Mail.ru