Vulnerability · Published Dec 14, 2022 · Assigned by GitHub_M
CVE-2022-23512Metersphere is vulnerable to Path Injection.
High 7.7
In plain English
A high-severity path traversal in metersphere from metersphere. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities).
Official description
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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| metersphere | metersphere | < 2.4.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N