Authenticated file deletion via traversal-filter bypass
Published May 11, 2025 · Updated May 12, 2025
Path traversal in Ctcms 2.1.2 allows remote authenticated users to delete arbitrary server files through the template management endpoint. The del function in ctcms/apps/controllers/admin/Tpl.php strips selected dot and slash sequences from the file parameter, but mixed ./ and ../ sequences bypass that filter. Access to the management backend is required; deleting configuration or application files can trigger reinstallation or crash the site.
Summary
What happened
Path traversal in Ctcms 2.1.2 allows remote authenticated users to delete arbitrary server files through the template management endpoint. The del function in ctcms/apps/controllers/admin/Tpl.php strips selected dot and slash sequences from the file parameter, but mixed ./ and ../ sequences bypass that filter. Access to the management backend is required; deleting configuration or application files can trigger reinstallation or crash the site.
The record
- CVE
- CVE-2025-4545
- Published
- May 11, 2025
- Updated
- May 12, 2025
- Vendor
- Ctcms Project
- Product
- Ctcms
- Classifications
- CWE-22, T1485
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 11, 2025CVE publishedPublication date reported by the CVE source.
- May 12, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.1.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CTCMS Arbitrary File Deletion Vulnerability (Authenticated)functional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo