moziloWiki - Directory Traversal, XSS

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1052178 漏洞类型
发布时间 2009-02-17 更新时间 2009-02-17
CVE编号 CVE-2008-6129
漏洞平台 N/A CVSS评分 N/A

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

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.

2. Cross Site Scripting:
Affected files:
index.php -> action parameter
index.php -> page parameter

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

3. 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 theuser even logs into the target server. After a user's session ID has been fixed, theattacker will wait for them to login. Once the user does so, the attacker uses thepredefined session ID value to assume their online identity.

3.2 PoC:

4. 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 whichfocuses on web application security. We offer professional penetrationtestings andreliable proof of concepts.
You will find more Information about MajorSecurity at