Vulnerabilities · 2022 · Metersphere
CVE-2022-23512
Metersphere vulnerability
MeterSphere is a one-stop open source continuous testing platform. Versions prior to 2.4.1 are vulnerable to Path Injection in ApiTestCaseService::deleteBodyFiles which takes a user-controlled string id and passes it to ApiTestCaseService, which uses the user-provided value (testId) in new File(BODY_FILE_DIR + "/" + testId), being deleted later by file.delete(). By adding some camouflage parameters to the url, an attacker can target files on the server. The vulnerability has been fixed in v2.4.1.
Affected products
Metersphere. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Metersphere runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Metersphere products
CVE-2025-62604CVE-2025-53639CVE-2024-37161CVE-2024-36118CVE-2024-32467CVE-2023-50267CVE-2023-41878CVE-2023-38494All 21
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.