Authenticated arbitrary file deletion via path traversal
Published Dec 14, 2022 · Updated Apr 21, 2025
Path traversal in FIT2CLOUD MeterSphere before 2.4.1 allows remote authenticated users to delete arbitrary server files. ApiTestCaseController passes a user-controlled deletion ID to ApiTestCaseService::deleteBodyFiles, which appends it beneath BODY_FILE_DIR without rejecting traversal sequences before recursively deleting the resolved path. Any non-administrator account with a valid session and CSRF token can reach the endpoint, and deletion is limited to files writable by the MeterSphere service.
Summary
What happened
Path traversal in FIT2CLOUD MeterSphere before 2.4.1 allows remote authenticated users to delete arbitrary server files. ApiTestCaseController passes a user-controlled deletion ID to ApiTestCaseService::deleteBodyFiles, which appends it beneath BODY_FILE_DIR without rejecting traversal sequences before recursively deleting the resolved path. Any non-administrator account with a valid session and CSRF token can reach the endpoint, and deletion is limited to files writable by the MeterSphere service.
The record
- CVE
- CVE-2022-23512
- Published
- Dec 14, 2022
- Updated
- Apr 21, 2025
- Vendor
- FIT2CLOUD
- Product
- MeterSphere
- Classifications
- CWE-22, CWE-26, T1070.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 14, 2022CVE publishedPublication date reported by the CVE source.
- Apr 21, 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.4.1
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
- Authenticated arbitrary-file-deletion proof of conceptfunctional · 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