Tiki Wiki CMS Groupware <= 28.3 Two Server-Side Template Injection Vulnerabilities
Tiki Wiki CMS Groupware is affected by two server-side template injection flaws that can be triggered by crafting wiki pages. An attacker could use the customsearch plugin to write arbitrary PHP files on the web server.
karmainsecurity.com
Published on karmainsecurity.com
Version 28.3 and prior 28.x versions. Version 27.2 and prior 27.x versions.
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 customsearch plugin passes user-controlled wiki page content into a template engine without proper sandboxing or validation.
Impact
An attacker with the ability to create wiki pages could write arbitrary PHP files on the web server, potentially leading to code execution.
What the attacker needed
Ability to create or edit wiki pages
How it was found
- Create a wiki page whose source code uses the customsearch plugin with a crafted template payload.
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 wiki page can contain special instructions that the server processes as a template. Because the server trusts those instructions too much, someone who can edit a page can make the server run their own code. Here that means writing a PHP file, which is a script the web server can later execute.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.