CVE-2022-23512CWE-22

Metersphere is vulnerable to Path Injection.

High · published December 14, 2022

CVSS v3.1
7.7
EPSS
1%
Percentile
58.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00867 · 58.3th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2022-12-14T13:09Z
EPSS history
Timeline
  • 14 DEC 13:09Z
    Metersphere is vulnerable to Path Injection.
    cvelistv5