Path Traversal in Metersphere
CVE-2022-23512
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.008 (56.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 56.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Metersphere — versions < 2.4.1
Weakness classification (CWE)
References
- github.com/metersphere/metersphere/security/advisories/GHSA-5mwp-xw7p-5j27 (Exploit, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-23512?
- CVE-2022-23512 is a high-severity vulnerability in Metersphere, classified under Path Traversal. CVSS score: 7.7/10. Published 2022-12-14.
- How severe is CVE-2022-23512?
- High severity. CVSS v3 base score is 7.7 out of 10.