CVE-2025-15589
Received Received - Intake
Path Traversal in MuYuCMS Template Management Allows Remote Exploit

Publication date: 2026-02-24

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was determined in MuYuCMS 2.7. Affected is the function delete_dir_file of the file application/admin/controller/Template.php of the component Template Management Page. This manipulation of the argument temn/tp causes path traversal. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-24
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-02-24
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
muyucms muyucms 2.7
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

[{'type': 'paragraph', 'content': "CVE-2025-15589 is a directory traversal vulnerability in MuYuCMS version 2.7, specifically in the Template Management module's delete_dir_file function within the application/admin/controller/Template.php file."}, {'type': 'paragraph', 'content': 'The vulnerability arises because the parameters \'temn\' and \'tp\' are used to construct filesystem paths without proper validation or sanitization. An authenticated attacker can manipulate these parameters to include directory traversal sequences (like "../../") to escape the intended template directory.'}, {'type': 'paragraph', 'content': 'This allows the attacker to target and recursively delete arbitrary directories and files anywhere on the server, potentially removing critical system files and causing severe damage.'}] [1, 2, 3]


How can this vulnerability impact me? :

Exploitation of this vulnerability can lead to recursive deletion of critical system directories and files, resulting in irreversible data loss and denial of service.

It can also cause privilege escalation by removing security configurations or important files, potentially leading to complete system compromise.

Because the deletion is recursive and uncontrolled, a single exploit can remove entire directory trees, amplifying the damage significantly.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': 'This vulnerability can be detected by identifying attempts to exploit the directory traversal flaw in the MuYuCMS Template Management module, specifically targeting the `tempdel` method via POST requests to `/admin/template/tempdel` with manipulated `temn` and `tp` parameters containing directory traversal sequences (e.g., "../../../etc/passwd").'}, {'type': 'paragraph', 'content': 'One detection method is to monitor web server logs for suspicious POST requests to `/admin/template/tempdel` that include directory traversal patterns in the parameters.'}, {'type': 'list_item', 'content': 'Example command to search web server logs for suspicious requests (assuming Apache logs):'}, {'type': 'list_item', 'content': "grep -iE 'POST /admin/template/tempdel' /var/log/apache2/access.log | grep -E '\\.\\./|\\.\\.\\\\'"}, {'type': 'list_item', 'content': 'Use Google dorking to identify vulnerable targets by searching for: inurl:application/admin/controller/Template.php'}] [2, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include implementing strict path validation on the parameters `temn` and `tp` before any file or directory deletion is performed.

Specifically, verify that the resolved absolute path of the target directory or file is within the allowed template directory to prevent directory traversal.

If possible, restrict or disable the vulnerable `tempdel` functionality until a secure patch or update is available.

Monitor and block suspicious requests attempting directory traversal sequences in the `temn` and `tp` parameters.

Since no vendor response or patch is available, consider replacing the affected component with an alternative product or applying custom fixes to sanitize inputs.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart