Description Preview
Overview
The arbitrary file deletion vulnerability in wuzhicms v4.0.1 allows attackers to delete files outside the intended scope of the application. The vulnerability is present in the attachment management module's admin interface. When exploited successfully, an attacker can manipulate file paths to target and delete critical system files or user data. This can lead to system instability, denial of service conditions, or potentially allow further exploitation by removing security controls or log files. The vulnerability has been publicly disclosed and documented in both GitHub issue trackers and the China National Vulnerability Database (CNVD).
Remediation
To remediate this vulnerability, system administrators should:
- Update wuzhicms to the latest version if a patch is available.
- If no patch is available, implement proper input validation and path sanitization in the affected file (coreframe\app\attachment\admin\index.php).
- Restrict access to the admin interface using strong authentication mechanisms.
- Implement file operation restrictions that prevent deletion of files outside the intended directory structure.
- Consider implementing file system monitoring to detect unauthorized deletion attempts.
- Regularly backup important system files and data to mitigate the impact of successful exploits.
- Review server logs for any signs of exploitation attempts.
References
-
GitHub Issue: https://github.com/wuzhicms/wuzhicms/issues/191 This issue contains details about the vulnerability discovery and potentially proof-of-concept code.
-
CNVD Reference: https://www.cnvd.org.cn/flaw/show/2394661 The China National Vulnerability Database entry for this vulnerability provides additional information and verification.
-
CWE-668: Exposure of Resource to Wrong Sphere https://cwe.mitre.org/data/definitions/668.html
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Health Care & Social AssistanceHealth Care & Social Assistance
- InformationInformation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- ManufacturingManufacturing
- MiningMining
- Other Services (except Public Administration)Other Services (except Public Administration)
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Retail TradeRetail Trade
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade