WikkaWiki <= 1.3.2 (files.xml.php) Path Traversal Vulnerability
The files.xml.php handler in WikkaWiki did not properly sanitise user input, allowing directory traversal sequences. An attacker could use this to access and delete arbitrary files on the server.
karmainsecurity.com
Published on karmainsecurity.com
WikkaWiki contains a flaw that allows a remote attacker to traverse outside of a restricted path. The issue is due to the /handlers/files.xml/files.xml.php script not properly sanitizing user input, specifically directory traversal style attacks (e.g., ../../).
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the files.xml.php handler passed user-supplied path input to file operations without stripping or validating directory traversal sequences.
Impact
An attacker could access and delete arbitrary files on the server, which may lead to data loss or further compromise.
What the attacker needed
Network access to the WikkaWiki instance
The fix
The vendor released security updates for versions 1.3.1 and 1.3.2 that address the flaw.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A path traversal bug lets someone use '..' in a file path to step out of the folder the program intended and reach other files on the server. Here the file-handling script trusted that input, so an attacker could read or delete files it should never touch.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.