Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

MediaWiki Full Path Disclosure Vulnerability

Subject: MediaWiki Full Path Disclosure Vulnerability
Date: 11 Feb 2007 19:11:57 -0000
 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/

<Prev in Thread] Current Thread [Next in Thread>
  • MediaWiki Full Path Disclosure Vulnerability, raphael . huck <=