Lucene search

HistoryOct 02, 2008 - 12:00 a.m.

[MajorSecurity Advisory #56]moziloWiki - Directory Traversal, XSS and SessionFixation Issues


[MajorSecurity Advisory #56]moziloWiki - Directory Traversal, XSS and SessionFixation Issues


Product: moziloWiki
Security-Risk: High
Remote-Exploit: yes
Vendor-Status: informed
Advisory-Status: published


Discovered by: David Vieira-Kurz

Affected Products:

moziloWiki 1.0.1 and prior

Original Advisory:


moziloWiki is an easy to handle wiki system.

More Details

  1. Directory Traversal:

Affected files:
print.php -> page parameter

Acquiring access to known files outside of the web root and current directory
is possible through directory traversal techniques.
This is made possible through the use of "…/…/" in a HTTP request.

  1. Cross Site Scripting:

Affected files:
index.php -> action parameter
index.php -> page parameter

Affected parameters are not being properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in
context of an affected site.

  1. session fixation:

The "PHPSESSID" parameter can be set to a malicious and arbitrary value.

3.1 Description:
In a session fixation attack, the attacker fixes the user's session ID before the user even logs into
the target server.
After a user's session ID has been fixed, the attacker will wait for them to login.
Once the user does so, the attacker uses the predefined session ID value to assume their online

3.2 PoC:


  1. Workaround:
    Update to mozilowiki 1.0.2


17.09.2008 discovery of the vulnerabilities
18.09.2008 additional tests with other versions
19.09.2008 contacted the vendor
20.09.2008 vendor confirmed vulnerabilities
27.09.2008 vendor released patch
29.09.2008 advisory is written
30.09.2008 advisory released


MajorSecurity is a German penetrationtesting and security research company which focuses
on web application security. We offer professional penetrationtestings and reliable proof
of concepts.
You will find more Information about MajorSecurity at