Tiki Wiki CMS Groupware <= 9.2 Multiple PHP Object Injection Vulnerabilities
Tiki Wiki CMS Groupware failed to sanitise user input before passing it to an unserialize() call, allowing PHP object injection. An attacker could craft a serialized object that abuses a Zend Framework class's destructor to create a file containing arbitrary PHP code.
karmainsecurity.com
Published on karmainsecurity.com
Tiki Wiki CMS Groupware contains a flaw that is triggered when certain scripts fail to properly sanitize user-supplied input before being used in an unserialize() call. With a specially crafted serialized object an attacker might be able to create a file containing arbitrary PHP code abusing the destruct() method of a…
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, user-controlled input was passed directly to PHP's unserialize() without validation, enabling object injection and abuse of a Zend Framework destructor.
Impact
An attacker might be able to create a file containing arbitrary PHP code, potentially leading to code execution on the server.
What the attacker needed
Ability to supply input to vulnerable scripts
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 object injection happens when a program takes data from a user and turns it back into an internal object without checking it. If the program has classes with special cleanup methods (called destructors), an attacker can choose which class is created and trigger harmful actions, such as writing a file with their own code. Here the result could be a file containing arbitrary PHP code, which may lead to running code on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.