Directory Traversal in TinyCMS ZZ_Templater Module
A directory traversal vulnerability exists in templater.php within the ZZ_Templater module of TinyCMS 1.1.2. When PHP's register_globals is enabled and magic_quotes_gpc is disabled, remote attackers can exploit improper sanitization of the config[template] parameter to include and execute arbitrary local files via directory traversal sequences (..).
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary code on the server by including local files, potentially leading to full compromise of the affected system.
If you can’t patch tonight, do this now.
Disable register_globals and enable magic_quotes_gpc in the PHP configuration. Restrict access to the application and monitor for suspicious activity. Employ web application firewalls to block directory traversal attempts.
Patch, then assume compromise.
Upgrade to a version of TinyCMS that properly sanitizes user input in templater.php, or apply a patch that ensures the config[template] parameter is validated and directory traversal sequences are blocked. Additionally, ensure register_globals is disabled and magic_quotes_gpc is enabled or, preferably, migrate to supported PHP configurations.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.