MediaWiki Full Path Disclosure Vulnerability Feb 11 2007 07:11PM
raphael huck free fr
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:

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


I've filed the bug (, and it has been solved in revision 19681 ( very quickly.


[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus