[MajorSecurity Advisory #56]moziloWiki - Directory Traversal, XSS and SessionFixation Issues
Product: moziloWiki
Security-Risk: High
Remote-Exploit: yes
Vendor-URL: http://www.mozilo.de/
Vendor-Status: informed
Advisory-Status: published
Discovered by: David Vieira-Kurz
http://www.majorsecurity.de
moziloWiki 1.0.1 and prior
http://www.majorsecurity.de/index_2.php?major_rls=major_rls56
moziloWiki is an easy to handle wiki system.
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.
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.
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
identity.
http://localhost/mozilowiki/?PHPSESSID=15031988
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
http://www.majorsecurity.de/penetrationstest/penetrationtest.php