Authenticated file deletion via unchecked backup path
Published May 29, 2025 · Updated May 30, 2025
Path traversal in chshcms Mccms 2.7 allows remote authenticated users to delete files through the restore_del backup endpoint. Backups.php decodes each posted dirs value, appends it beneath ./caches/backup/, and passes the path to recursive deletion and rmdir without canonicalization or a boundary check. An administrative session is required, and deletion is limited to files writable by the web-server process, but removing application data can interrupt service.
Summary
What happened
Path traversal in chshcms Mccms 2.7 allows remote authenticated users to delete files through the restore_del backup endpoint. Backups.php decodes each posted dirs value, appends it beneath ./caches/backup/, and passes the path to recursive deletion and rmdir without canonicalization or a boundary check. An administrative session is required, and deletion is limited to files writable by the web-server process, but removing application data can interrupt service.
The record
- CVE
- CVE-2025-5328
- Published
- May 29, 2025
- Updated
- May 30, 2025
- Vendor
- chshcms
- Product
- Mccms
- Classifications
- CWE-22, CAPEC-126, T1070.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 29, 2025CVE publishedPublication date reported by the CVE source.
- May 30, 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.7
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
- Mccms 2.7 arbitrary file deletion proof of conceptproof of concept · unverified
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