Skip to content
RCE Write-up Advanced

Tiki Wiki CMS Groupware <= 24.1 (tikiimporter_blog_wordpress.php) PHP Object Injection Vulnerability

The Tiki Importer script passes user-supplied data from an uploaded WordPress XML file into PHP's unserialize() function. A malicious user could inject arbitrary PHP objects, potentially leading to arbitrary PHP code execution.

karmainsecurity.com

Published on karmainsecurity.com

The vulnerability is located in the /lib/importer/tikiimporterblogwordpress.php script. Specifically, when importing data from WordPress sites through the Tiki Importer, user input passed through the uploaded XML file is being used in a call to the unserialize() PHP function.

The author, on karmainsecurity.com

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

Impact

A malicious user could inject arbitrary PHP objects and potentially execute arbitrary PHP code.

What the attacker needed

Access to the Tiki Importer; ability to upload a crafted XML file

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.

PHP's unserialize() turns stored text back into live objects. If an attacker controls that text, they can create objects the developer never intended, and some of those objects can trigger harmful actions such as running code. Here, the text comes from an XML file uploaded during a WordPress import.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.